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,
"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)
# Try the host that we succesfully called /make_leave/ on first for