diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-05-05 17:32:21 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-05-05 17:32:21 +0100 |
commit | d18f37e026a02b4e899bc96e600850007a613189 (patch) | |
tree | 66faf9320e35abcc03d0ff31a767a0de2fefddc8 /synapse/storage/room.py | |
parent | SYN-369: Add comments to the sequence number logic in the cache (diff) | |
download | synapse-d18f37e026a02b4e899bc96e600850007a613189.tar.xz |
Collect the invalidate callbacks on the transaction object rather than passing around a separate list
Diffstat (limited to 'synapse/storage/room.py')
-rw-r--r-- | synapse/storage/room.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/room.py b/synapse/storage/room.py index d42d7ff0e3..f956377632 100644 --- a/synapse/storage/room.py +++ b/synapse/storage/room.py @@ -162,7 +162,7 @@ class RoomStore(SQLBaseStore): defer.returnValue(ret) - def _store_room_topic_txn(self, txn, invalidates, event): + def _store_room_topic_txn(self, txn, event): if hasattr(event, "content") and "topic" in event.content: self._simple_insert_txn( txn, @@ -174,7 +174,7 @@ class RoomStore(SQLBaseStore): }, ) - def _store_room_name_txn(self, txn, invalidates, event): + def _store_room_name_txn(self, txn, event): if hasattr(event, "content") and "name" in event.content: self._simple_insert_txn( txn, |