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

Fix docstring on add_account_data_for_user. #11716

Merged
merged 2 commits into from
Jan 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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