summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-02 16:12:10 +0000
committerErik Johnston <erik@matrix.org>2016-02-02 16:12:10 +0000
commit8a391e33ae21f9a62c57cca8eea47435a14a6247 (patch)
tree96557786f18ba3f815553d3e4e34354135a7128c /synapse/storage
parentFetch events in a separate transaction. (diff)
downloadsynapse-8a391e33ae21f9a62c57cca8eea47435a14a6247.tar.xz
s/get_room_changes_for_user/get_membership_changes_for_user/
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/stream.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py
index bcae3d718e..338a9d40d5 100644
--- a/synapse/storage/stream.py
+++ b/synapse/storage/stream.py
@@ -243,7 +243,7 @@ class StreamStore(SQLBaseStore):
         defer.returnValue((ret, key))
 
     @defer.inlineCallbacks
-    def get_room_changes_for_user(self, user_id, from_key, to_key):
+    def get_membership_changes_for_user(self, user_id, from_key, to_key):
         if from_key is not None:
             from_id = RoomStreamToken.parse_stream_token(from_key).stream
         else:
@@ -285,7 +285,7 @@ class StreamStore(SQLBaseStore):
 
             return rows
 
-        rows = yield self.runInteraction("get_room_changes_for_user", f)
+        rows = yield self.runInteraction("get_membership_changes_for_user", f)
 
         ret = yield self._get_events(
             [r["event_id"] for r in rows],