summary refs log tree commit diff
path: root/synapse/handlers/device.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-02-01 17:52:57 +0000
committerErik Johnston <erik@matrix.org>2017-02-01 17:52:57 +0000
commitfbfe44bb4de0e490b5c34ebdb1e8c0c09dd766b1 (patch)
tree2db0e911aa3ab5cb2a2b5169e98552e1e37886b0 /synapse/handlers/device.py
parentComment (diff)
downloadsynapse-fbfe44bb4de0e490b5c34ebdb1e8c0c09dd766b1.tar.xz
Doc args
Diffstat (limited to 'synapse/handlers/device.py')
-rw-r--r--synapse/handlers/device.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py
index 4589dab409..815410969c 100644
--- a/synapse/handlers/device.py
+++ b/synapse/handlers/device.py
@@ -223,6 +223,13 @@ class DeviceHandler(BaseHandler):
 
     @defer.inlineCallbacks
     def get_user_ids_changed(self, user_id, from_token):
+        """Get list of users that have had the devices updated, or have newly
+        joined a room, that `user_id` may be interested in.
+
+        Args:
+            user_id (str)
+            from_token (StreamToken)
+        """
         rooms = yield self.store.get_rooms_for_user(user_id)
         room_ids = set(r.room_id for r in rooms)