Skip to content

Commit

Permalink
mention that the target event must exist in the same room
Browse files Browse the repository at this point in the history
  • Loading branch information
bwindels committed Nov 17, 2021
1 parent 46d1bff commit 8e12152
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proposals/2674-event-relationships.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ This proposal introduces the concept of relations, which can be used to
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,
and a field `event_id`, which is a string that represents the event_id of the target 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.
Both of those fields are required. An event is said to contain a relationship if their `content` contains
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.
Expand Down

0 comments on commit 8e12152

Please sign in to comment.