Skip to content
Snippets Groups Projects
Commit 70a86087 authored by Erik Johnston's avatar Erik Johnston
Browse files

Invalidate get_last_receipt_event_id_for_user cache

parent 7e3b586c
No related branches found
No related tags found
No related merge requests found
......@@ -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 = (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment