Merge pull request #2043 from matrix-org/travis/1.0/self-rr

Clarify that clients should not ack their own messages
This commit is contained in:
Travis Ralston 2019-05-28 07:27:41 -06:00 committed by GitHub
commit 6f1cd03457
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -0,0 +1 @@
Clarify that clients should not send read receipts for their own messages.

View file

@ -60,7 +60,8 @@ Clients should send read receipts when there is some certainty that the event in
question has been **displayed** to the user. Simply receiving an event does not question has been **displayed** to the user. Simply receiving an event does not
provide enough certainty that the user has seen the event. The user SHOULD need provide enough certainty that the user has seen the event. The user SHOULD need
to *take some action* such as viewing the room that the event was sent to or to *take some action* such as viewing the room that the event was sent to or
dismissing a notification in order for the event to count as "read". dismissing a notification in order for the event to count as "read". Clients
SHOULD NOT send read receipts for events sent by their own user.
A client can update the markers for its user by interacting with the following A client can update the markers for its user by interacting with the following
HTTP APIs. HTTP APIs.
@ -94,4 +95,3 @@ Security considerations
As receipts are sent outside the context of the event graph, there are no As receipts are sent outside the context of the event graph, there are no
integrity checks performed on the contents of ``m.receipt`` events. integrity checks performed on the contents of ``m.receipt`` events.