summary refs log tree commit diff
path: root/synapse/storage/registration.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-09-29 15:35:54 +0100
committerErik Johnston <erik@matrix.org>2014-09-29 15:35:54 +0100
commit7151615260d50c40341fb168bfe804be0d94ec24 (patch)
tree89385b334a5695cb06b7cfb8933247e6f9f301c6 /synapse/storage/registration.py
parentSYN-48: Delete dead code (diff)
downloadsynapse-7151615260d50c40341fb168bfe804be0d94ec24.tar.xz
Update docstring
Diffstat (limited to '')
-rw-r--r--synapse/storage/registration.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py
index cf43209367..719806f82b 100644
--- a/synapse/storage/registration.py
+++ b/synapse/storage/registration.py
@@ -94,7 +94,8 @@ class RegistrationStore(SQLBaseStore):
         Args:
             token (str): The access token of a user.
         Returns:
-            str: The user ID of the user.
+            dict: Including the name (user_id), device_id and whether they are
+                an admin.
         Raises:
             StoreError if no user was found.
         """