mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-28 23:20:09 +03:00
Fix invalidation of get_users_with_read_receipts_in_room
This commit is contained in:
parent
99713dc7d3
commit
58ebb96cce
1 changed files with 3 additions and 1 deletions
|
@ -45,7 +45,9 @@ class ReceiptsStore(SQLBaseStore):
|
|||
return
|
||||
|
||||
# Returns an ObservableDeferred
|
||||
res = self.get_users_with_read_receipts_in_room.cache.get((room_id,), None)
|
||||
res = self.get_users_with_read_receipts_in_room.cache.get(
|
||||
room_id, None, update_metrics=False,
|
||||
)
|
||||
|
||||
if res:
|
||||
if isinstance(res, defer.Deferred) and res.called:
|
||||
|
|
Loading…
Reference in a new issue