Invalidate get_last_receipt_event_id_for_user cache
This commit is contained in:
parent
7e3b586c1e
commit
70a8608749
1 changed files with 5 additions and 0 deletions
|
@ -240,6 +240,11 @@ class ReceiptsStore(SQLBaseStore):
|
|||
room_id, stream_id
|
||||
)
|
||||
|
||||
txn.call_after(
|
||||
self.get_last_receipt_event_id_for_user.invalidate,
|
||||
(user_id, room_id, receipt_type)
|
||||
)
|
||||
|
||||
# We don't want to clobber receipts for more recent events, so we
|
||||
# have to compare orderings of existing receipts
|
||||
sql = (
|
||||
|
|
Loading…
Reference in a new issue