mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-27 13:09:22 -05:00
Fix docstring on add_account_data_for_user
. (#11716)
This commit is contained in:
parent
c43dd4d01b
commit
ffd227c382
1
changelog.d/11716.misc
Normal file
1
changelog.d/11716.misc
Normal file
@ -0,0 +1 @@
|
||||
Fix docstring on `add_account_data_for_user`.
|
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user