Invalidate the get_latest_event_ids_in_room cache when deleting from event_forward_extremities

pull/161/head
Mark Haines 2015-05-22 13:00:50 +01:00
parent 254aa3c986
commit b6adfc59f5
1 changed files with 1 additions and 0 deletions

View File

@ -472,3 +472,4 @@ class EventFederationStore(SQLBaseStore):
query = "DELETE FROM event_forward_extremities WHERE room_id = ?"
txn.execute(query, (room_id,))
txn.call_after(self.get_latest_event_ids_in_room.invalidate, room_id)