Missing device_one_time_keys_count should not imply zero
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Quiet
- Domain
- documentation
Research direction
Start with the E2E extensions to /sync section of the Matrix Client-Server API at the linked specification page, then review the discussion in issue #1057 for context. Update the specification so an omitted device_one_time_keys_count is not treated as zero, and confirm the wording clearly defines the resulting client behavior.
Written by the indexing model from the issue text.
Description
Link to problem area: https://spec.matrix.org/v1.8/client-server-api/#e2e-extensions-to-sync
Split off from https://github.com/matrix-org/matrix-spec/issues/1057#
Quoting @neilalexander:
Honestly the specced behaviour of assuming that a missing value means zero is a footgun anyway. A missing value should mean nothing. If the server doesn't support handling OTKs for example, it should be possible to omit the field and expect that a client will do nothing. We should not be encouraging clients to implement magic behaviours.
- Dominant language
- HTML
- Stars
- 330
- Forks
- 150
- Avg merge
- 2h 29m
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from matrix-org/matrix-spec
-
improvement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
matrix-org/matrix-spec#2444 ·
-
clarification
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
matrix-org/matrix-spec#2443 · 2 comments · 1 reaction ·
-
A-E2EE clarification spec-omission
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
matrix-org/matrix-spec#2442 ·
-
clarification
Difficulty 1/5 Under an hour Newbie friendliness 88/100
matrix-org/matrix-spec#2436 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
matrix-org/matrix-spec#2431 · 4 comments ·
All issues in matrix-org/matrix-spec
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Ecosystem: ClawMetry — the Qwen Code reader is now free and open source (follow-up to #9294 / #9338) Opencategory/integration priority/P3 scope/documentation status/ready-for-human type/feature-request
Difficulty 1/5 Under an hour Newbie friendliness 84/100