Skip to content

Commit 8e12152

Browse files
committed
mention that the target event must exist in the same room
1 parent 46d1bff commit 8e12152

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

proposals/2674-event-relationships.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ This proposal introduces the concept of relations, which can be used to
2929
associate new information with an existing event.
3030

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

0 commit comments

Comments
 (0)