diff --git a/src/core/matrix/state_res/event_auth.rs b/src/core/matrix/state_res/event_auth.rs index 60e40d4fc..fa62d38e2 100644 --- a/src/core/matrix/state_res/event_auth.rs +++ b/src/core/matrix/state_res/event_auth.rs @@ -332,8 +332,7 @@ where // If the create event content has the field m.federate set to false and the // sender domain of the event does not match the sender domain of the create // event, reject. - if !room_version.room_ids_as_hashes - && !room_create_content.federate + if !room_create_content.federate && room_create_event.sender().server_name() != incoming_event.sender().server_name() { warn!(