Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
pull/2674/head
Travis Ralston 3 years ago committed by GitHub
parent 12fdf5590d
commit 57cfb55fa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,7 +31,7 @@ associate new information with an existing event.
A relationship is an object with a field `rel_type`, which is a string describing the type of relation, A relationship is an object with a field `rel_type`, which is a string describing the type of relation,
and a field `event_id`, which is a string that represents the event_id of the target event of this relation. and a field `event_id`, which is a string that represents the event_id of the target event of this relation.
The target event must exist in the same room as the relating event is sent. The target event must exist in the same room as the relating event is sent.
Both of those fields are required. An event is said to contain a relationship if their `content` contains Both of those fields are required. An event is said to contain a relationship if its `content` contains
a relationship with all the required fields under the `m.relates_to` key. If any of these conditions is not met, a relationship with all the required fields under the `m.relates_to` key. If any of these conditions is not met,
clients and servers should treat the event as if it does not contain a relationship. clients and servers should treat the event as if it does not contain a relationship.

Loading…
Cancel
Save