summary refs log tree commit diff
path: root/synapse/storage/databases
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2022-01-10 15:38:22 +0000
committerGitHub <noreply@github.com>2022-01-10 15:38:22 +0000
commitffd227c3822b6e20b9dc203b3eae253adc0cf663 (patch)
treecaca777ad9849d05632f1a504bbcaef072c773db /synapse/storage/databases
parentDeal with mypy errors w/ type-hinted pynacl 1.5.0 (#11714) (diff)
downloadsynapse-ffd227c3822b6e20b9dc203b3eae253adc0cf663.tar.xz
Fix docstring on `add_account_data_for_user`. (#11716)
Diffstat (limited to 'synapse/storage/databases')
-rw-r--r--synapse/storage/databases/main/account_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/account_data.py b/synapse/storage/databases/main/account_data.py
index 32a553fdd7..93db71d1b4 100644
--- a/synapse/storage/databases/main/account_data.py
+++ b/synapse/storage/databases/main/account_data.py
@@ -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.