mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-28 03:06:59 -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(
|
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.
|
||||||
|
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user