mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix: Restore event auth check 4 in v12 rooms
Reviewed-By: Jacob Taylor <jacob@explodie.org>
This commit is contained in:
@@ -332,8 +332,7 @@ where
|
|||||||
// If the create event content has the field m.federate set to false and the
|
// 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
|
// sender domain of the event does not match the sender domain of the create
|
||||||
// event, reject.
|
// event, reject.
|
||||||
if !room_version.room_ids_as_hashes
|
if !room_create_content.federate
|
||||||
&& !room_create_content.federate
|
|
||||||
&& room_create_event.sender().server_name() != incoming_event.sender().server_name()
|
&& room_create_event.sender().server_name() != incoming_event.sender().server_name()
|
||||||
{
|
{
|
||||||
warn!(
|
warn!(
|
||||||
|
|||||||
Reference in New Issue
Block a user