summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-03-01 17:00:35 +0000
committerErik Johnston <erik@matrix.org>2018-03-01 17:08:17 +0000
commit4b44f05f1941478e2274b4894bfd025deedb9992 (patch)
tree2ddee7cca770927cd536a828153256618be71ba6 /synapse
parentImprove caching for read_marker API (diff)
downloadsynapse-4b44f05f1941478e2274b4894bfd025deedb9992.tar.xz
Fewer lies are better
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/account_data.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/account_data.py b/synapse/storage/account_data.py
index 077b4faa5f..e70c9423e3 100644
--- a/synapse/storage/account_data.py
+++ b/synapse/storage/account_data.py
@@ -159,14 +159,14 @@ class AccountDataWorkerStore(SQLBaseStore):
 
     @cached(num_args=3, max_entries=5000)
     def get_account_data_for_room_and_type(self, user_id, room_id, account_data_type):
-        """Get all the client account_data for a user for a room.
+        """Get the client account_data of given type for a user for a room.
 
         Args:
             user_id(str): The user to get the account_data for.
             room_id(str): The room to get the account_data for.
             account_data_type (str): The account data type to get.
         Returns:
-            A deferred dict of the room account_data for that type, or None if
+            A deferred of the room account_data for that type, or None if
             there isn't any set.
         """
         def get_account_data_for_room_and_type_txn(txn):