mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 14:34:47 -04:00
Don't readd things that are already in event_results
This commit is contained in:
parent
6189d8e54d
commit
73d23c6ae8
1 changed files with 2 additions and 1 deletions
|
@ -411,7 +411,8 @@ class EventFederationStore(SQLBaseStore):
|
||||||
)
|
)
|
||||||
|
|
||||||
for row in txn.fetchall():
|
for row in txn.fetchall():
|
||||||
queue.put((-row[0], row[1]))
|
if row[1] not in event_results:
|
||||||
|
queue.put((-row[0], row[1]))
|
||||||
|
|
||||||
return event_results
|
return event_results
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue