Stricter check to ensure missing await would be caught

This commit is contained in:
Kegan Dougal authored and GitHub committed 2026-10-02 16:38:34 +01:00
1 parent f3dce9bf4a
commit dc0d0dc40c
1 file changed
+1 -1
+1 -1
View File
@@ -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