mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 19:47:05 +03:00
Fix docstring on add_account_data_for_user
. (#11716)
This commit is contained in:
parent
c43dd4d01b
commit
ffd227c382
3 changed files with 3 additions and 2 deletions
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…
Reference in a new issue