Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make m.presence match what synapse returns #1137

Merged
merged 2 commits into from Mar 5, 2018

Conversation

turt2live
Copy link
Member

Considering this is the behaviour that is embedded into most client libraries and the most popular homeserver, it should be adopted as the standard.

Considering this is the behaviour that is embedded into most client libraries and the most popular homeserver, it should be adopted as the standard.

Signed-off-by: Travis Ralston <travpc@gmail.com>
Signed-off-by: Travis Ralston <travpc@gmail.com>
@turt2live
Copy link
Member Author

Fixes #650

@richvdh
Copy link
Member

richvdh commented Mar 5, 2018

Agreed. Thanks.

@richvdh richvdh merged commit 66f434c into matrix-org:master Mar 5, 2018
@Half-Shot
Copy link
Contributor

Probably only occured to me now that technically sender != userid in most cases since the HS overrides whatever presence might have been set by the user, although I'm not sure what you would specify the sender to be.

Just seems a bit crap.

@turt2live turt2live deleted the travis/m.presence branch March 6, 2018 22:24
@turt2live
Copy link
Member Author

@Half-Shot My argument would be the user "sent" a read receipt, even if the server decided to do it for them, therefore they are the sender. It could be argued that a user_id is more clear though.

florianjacob added a commit to florianjacob/ruma-events that referenced this pull request Sep 1, 2018
making ruma-client more interoperable with synapse.
See matrix-org/matrix-spec-proposals#1137 for the details
of the spec change.
Fixes https://github.com/ruma/ruma-client-api/issues/27
florianjacob added a commit to florianjacob/ruma-events that referenced this pull request Sep 1, 2018
making ruma-client more interoperable with synapse.
See matrix-org/matrix-spec-proposals#1137 for the details
of the spec change.
Fixes https://github.com/ruma/ruma-client-api/issues/27
RiotTranslateBot pushed a commit to RiotTranslateBot/matrix-doc that referenced this pull request Aug 22, 2023
This might be kinda obvious, but didn't seem to be spelt out anywhere.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants