summary refs log tree commit diff
path: root/synapse/handlers/presence.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-08-29 19:15:23 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-08-29 19:15:23 +0100
commita8e8d1d06c078de49711768357267cf4168999ea (patch)
treefa449b133e1780611f5de9c258c95a6cdf771492 /synapse/handlers/presence.py
parentHave EventSource's get_new_events_for_user() API work only on keys within tha... (diff)
downloadsynapse-a8e8d1d06c078de49711768357267cf4168999ea.tar.xz
Renamed get_current_token_part to get_current_key
Diffstat (limited to 'synapse/handlers/presence.py')
-rw-r--r--synapse/handlers/presence.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py
index 05bf145240..cc28151e35 100644
--- a/synapse/handlers/presence.py
+++ b/synapse/handlers/presence.py
@@ -747,7 +747,7 @@ class PresenceEventSource(object):
         else:
             return (([], presence._user_cachemap_latest_serial))
 
-    def get_current_token_part(self):
+    def get_current_key(self):
         presence = self.hs.get_handlers().presence_handler
         return presence._user_cachemap_latest_serial