Fix docstring on `add_account_data_for_user`. (#11716)

pull/11725/head
reivilibre 2022-01-10 15:38:22 +00:00 committed by GitHub
parent c43dd4d01b
commit ffd227c382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

1
changelog.d/11716.misc Normal file
View File

@ -0,0 +1 @@
Fix docstring on `add_account_data_for_user`.

View File

@ -77,7 +77,7 @@ class AccountDataHandler:
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.

View File

@ -450,7 +450,7 @@ class AccountDataWorkerStore(CacheInvalidationWorkerStore):
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.