Fix docstring on add_account_data_for_user. (#11716)

This commit is contained in:
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( async def add_account_data_for_user(
self, user_id: str, account_data_type: str, content: JsonDict self, user_id: str, account_data_type: str, content: JsonDict
) -> int: ) -> int:
"""Add some account_data to a room for a user. """Add some global account_data for a user.
Args: Args:
user_id: The user to add a tag for. 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( async def add_account_data_for_user(
self, user_id: str, account_data_type: str, content: JsonDict self, user_id: str, account_data_type: str, content: JsonDict
) -> int: ) -> int:
"""Add some account_data to a room for a user. """Add some global account_data for a user.
Args: Args:
user_id: The user to add a tag for. user_id: The user to add a tag for.