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

Commit

Permalink
Fix docstring on add_account_data_for_user. (#11716)
Browse files Browse the repository at this point in the history
  • Loading branch information
reivilibre authored Jan 10, 2022
1 parent c43dd4d commit ffd227c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/11716.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix docstring on `add_account_data_for_user`.
2 changes: 1 addition & 1 deletion synapse/handlers/account_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ async def add_account_data_to_room(
async def add_account_data_for_user(
self, user_id: str, account_data_type: str, content: JsonDict
) -> int:
"""Add some account_data to a room for a user.
"""Add some global account_data for a user.
Args:
user_id: The user to add a tag for.
Expand Down
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/account_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ async def add_account_data_to_room(
async def add_account_data_for_user(
self, user_id: str, account_data_type: str, content: JsonDict
) -> int:
"""Add some account_data to a room for a user.
"""Add some global account_data for a user.
Args:
user_id: The user to add a tag for.
Expand Down

0 comments on commit ffd227c

Please sign in to comment.