mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-08 17:22:14 -04:00
Only send events that originate on this server.
Or events that are sent via the federation "send_join" API. This should match the behaviour from before v0.18.5 and #1635 landed.
This commit is contained in:
parent
0d766c8ccf
commit
f784980d2b
3 changed files with 25 additions and 0 deletions
|
@ -790,6 +790,10 @@ class FederationHandler(BaseHandler):
|
|||
)
|
||||
|
||||
event.internal_metadata.outlier = False
|
||||
# Send this event on behalf of the origin server since they may not
|
||||
# have an up to data view of the state of the room at this event so
|
||||
# will not know which servers to send the event to.
|
||||
event.internal_metadata.send_on_behalf_of = origin
|
||||
|
||||
context, event_stream_id, max_stream_id = yield self._handle_new_event(
|
||||
origin, event
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue