Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-o…
Browse files Browse the repository at this point in the history
…rg-hotfixes
  • Loading branch information
erikjohnston committed May 19, 2017
2 parents 3da4263 + ab4ee2e commit f0ed2e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion synapse/storage/receipts.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ def _invalidate_get_users_with_receipts_in_room(self, room_id, receipt_type,
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:
Expand Down

0 comments on commit f0ed2e4

Please sign in to comment.