Spec does not specify how to handle duplicate auth events #903
Labels
A-S2S
Server-to-Server API (federation)
enhancement
A suggestion for a relatively simple improvement to the protocol
Suppose you receive an event over federation whose
auth_events
include twom.room.member
events for the sender. One of those events is ajoin
, and one is aleave
. Should we accept the event or not?I think the answer is probably "if the
auth_events
specify multiple events with the same(type, state_key)
, the event should be rejected", but the spec doesn't say that, and it's not what Synapse currently does.The text was updated successfully, but these errors were encountered: