fix: Restore event auth check 4 in v12 rooms

Reviewed-By: Jacob Taylor <jacob@explodie.org>
This commit is contained in:
timedout
2026-05-07 21:11:54 +01:00
parent 1cc9dbf2a4
commit a30c355c03
+1 -2
View File
@@ -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!(