mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix pyflakes warning
This commit is contained in:
parent
8a1d3b86af
commit
05ea111c47
@ -215,7 +215,7 @@ class BaseHandler(object):
|
||||
#
|
||||
context_events = (e.event_id for e in context.current_state.values())
|
||||
|
||||
if prev_member_event and not prev_member_event.event_id in context_events:
|
||||
if prev_member_event and prev_member_event.event_id not in context_events:
|
||||
# The prev_member_event is missing from context, so it must
|
||||
# have arrived over federation and is an outlier. We forcibly
|
||||
# set our context to the invite we received over federation
|
||||
|
Loading…
Reference in New Issue
Block a user