mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 00:20:25 +00:00
Merge pull request #2265 from matrix-org/erikj/remote_leave_outlier
Mark remote invite rejections as outliers
This commit is contained in:
commit
1946867bc2
1 changed files with 3 additions and 0 deletions
|
@ -1102,6 +1102,9 @@ class FederationHandler(BaseHandler):
|
||||||
user_id,
|
user_id,
|
||||||
"leave"
|
"leave"
|
||||||
)
|
)
|
||||||
|
# Mark as outlier as we don't have any state for this event; we're not
|
||||||
|
# even in the room.
|
||||||
|
event.internal_metadata.outlier = True
|
||||||
event = self._sign_event(event)
|
event = self._sign_event(event)
|
||||||
|
|
||||||
# Try the host that we succesfully called /make_leave/ on first for
|
# Try the host that we succesfully called /make_leave/ on first for
|
||||||
|
|
Loading…
Reference in a new issue