0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 18:23:59 +01:00

Merge pull request #2265 from matrix-org/erikj/remote_leave_outlier

Mark remote invite rejections as outliers
This commit is contained in:
Erik Johnston 2017-06-09 13:05:15 +01:00 committed by GitHub
commit 1946867bc2

View file

@ -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