summary refs log tree commit diff
path: root/synapse/storage/roommember.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-09-11 18:44:04 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-09-11 18:44:04 +0100
commitaaf9ab68c6969d69150b7aa1f6ebddcf1c496050 (patch)
tree055e223ac77a3fbf1ac48801b0483ef86634a688 /synapse/storage/roommember.py
parentUnit-test for RegistrationStore using SQLiteMemoryDbPool (diff)
downloadsynapse-aaf9ab68c6969d69150b7aa1f6ebddcf1c496050.tar.xz
Rename _store_room_member_txn to _store_room_member_from_event_txn so we can create another, more sensible function of that name
Diffstat (limited to '')
-rw-r--r--synapse/storage/roommember.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py
index 9a393e2568..437ff03a73 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -26,7 +26,7 @@ logger = logging.getLogger(__name__)
 
 class RoomMemberStore(SQLBaseStore):
 
-    def _store_room_member_txn(self, txn, event):
+    def _store_room_member_from_event_txn(self, txn, event):
         """Store a room member in the database.
         """
         target_user_id = event.state_key