mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-06 15:18:33 +00:00
Stricter check to ensure missing await would be caught
This commit is contained in:
1 parent
f3dce9bf4a
commit
dc0d0dc40c
1 file changed
+1
-1
@@ -1830,7 +1830,7 @@ class FederationEventHandler:
|
||||
for s in seen_remotes:
|
||||
unseen_event_map.pop(s, None)
|
||||
rejected_event_ids = await self._store.has_rejected_event_ids(seen_remotes)
|
||||
if rejected_event_ids:
|
||||
if len(rejected_event_ids) > 0:
|
||||
has_rejected_events = True
|
||||
|
||||
# XXX: it might be possible to kick this process off in parallel with fetching
|
||||
|
||||
Reference in new issue
Block a user