matrix-org / matrix-org/matrix-spec
Need a way to get all online users presences (SPEC-397)
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 330
- Forks
- 150
- Avg merge
- 2h 21m
- Merged PRs (30d)
- 3
Description
The first /sync, initialSync, implicitly sends presences of all online users.
This allows to be in-sync about all online users. This is currently the only way to get this information.
But a (mobile) client that has a resume capability avoids to do initialSync. Thus, it cannot know who is online on a resume and displays wrong presence values.
It would be nice to have mechanism to get all online users presences.
Mark suggested:
- Maybe if we added a filtering mechanism to the full_state flag we might be able to do something nicer here?
- Or just added another flag to /sync like the full_state flag?
- Or extended /sync to make it possible to submit a separate request to get the missing presence?
(Imported from https://matrix.org/jira/browse/SPEC-397)
(Reported by @manuroe)
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.
Research direction
Start by reading the /sync, initialSync, and full_state behavior described in the specification, then compare resume behavior with initial sync. Done means the specification defines an agreed mechanism for clients to retrieve all online users' presences when resuming, including its request and response behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100