mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Don't readd things that are already in event_results
This commit is contained in:
parent
6189d8e54d
commit
73d23c6ae8
@ -411,6 +411,7 @@ class EventFederationStore(SQLBaseStore):
|
|||||||
)
|
)
|
||||||
|
|
||||||
for row in txn.fetchall():
|
for row in txn.fetchall():
|
||||||
|
if row[1] not in event_results:
|
||||||
queue.put((-row[0], row[1]))
|
queue.put((-row[0], row[1]))
|
||||||
|
|
||||||
return event_results
|
return event_results
|
||||||
|
Loading…
Reference in New Issue
Block a user