mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-25 18:38:37 +01:00
Reject events with superfluous auth_events entries
This commit is contained in:
parent
073ebb051b
commit
d921b81c70
|
|
@ -365,6 +365,12 @@ The rules are as follows:
|
|||
c. Reject if ``content.room_version`` key is an unrecognized version
|
||||
d. Otherwise, allow.
|
||||
|
||||
#. Reject if event has ``auth_events`` that:
|
||||
|
||||
a. have duplicate entries for a given ``type`` and ``state_key`` pair
|
||||
#. have entries whose ``type`` and ``state_key`` don't match those
|
||||
specified by the algorithm described previously.
|
||||
|
||||
#. Reject if event does not have a ``m.room.create`` in its ``auth_events``
|
||||
|
||||
#. If type is ``m.room.aliases``:
|
||||
|
|
|
|||
Loading…
Reference in a new issue