mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-19 23:44:38 -04:00
Don't return state event outlier's when paginating.
This commit is contained in:
parent
1317afcb9a
commit
808f663ed1
3 changed files with 9 additions and 2 deletions
|
@ -105,6 +105,11 @@ class DataStore(RoomMemberStore, RoomStore,
|
|||
"processed": True,
|
||||
}
|
||||
|
||||
if hasattr(event, "outlier"):
|
||||
vals["outlier"] = event.outlier
|
||||
else:
|
||||
vals["outlier"] = False
|
||||
|
||||
if backfilled:
|
||||
if not self.min_token_deferred.called:
|
||||
yield self.min_token_deferred
|
||||
|
@ -123,7 +128,7 @@ class DataStore(RoomMemberStore, RoomStore,
|
|||
except:
|
||||
logger.exception(
|
||||
"Failed to persist, probably duplicate: %s",
|
||||
event_id
|
||||
event.event_id
|
||||
)
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue