Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fewer lies are better
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Mar 1, 2018
1 parent a83c514 commit 4b44f05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/storage/account_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,14 @@ def get_account_data_for_room_txn(txn):

@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):
Expand Down

0 comments on commit 4b44f05

Please sign in to comment.