mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-19 13:24:18 -05:00
Invalidate the get_latest_event_ids_in_room cache when deleting from event_forward_extremities
This commit is contained in:
parent
254aa3c986
commit
b6adfc59f5
@ -472,3 +472,4 @@ class EventFederationStore(SQLBaseStore):
|
|||||||
query = "DELETE FROM event_forward_extremities WHERE room_id = ?"
|
query = "DELETE FROM event_forward_extremities WHERE room_id = ?"
|
||||||
|
|
||||||
txn.execute(query, (room_id,))
|
txn.execute(query, (room_id,))
|
||||||
|
txn.call_after(self.get_latest_event_ids_in_room.invalidate, room_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user