summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2020-05-15 16:17:12 +0100
committerGitHub <noreply@github.com>2020-05-15 16:17:12 +0100
commit86614e251f25ef3f1741b4cd9c9d60ee9e754862 (patch)
treed93ee1ce425a91db47a35fce89b894225ad1b449 /synapse/storage
parentFormatting for reverse-proxy docs (#7514) (diff)
downloadsynapse-86614e251f25ef3f1741b4cd9c9d60ee9e754862.tar.xz
Fix a small typo in the arguments of simple_update in update_remote_profile_cache (#7511)
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/data_stores/main/profile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/data_stores/main/profile.py b/synapse/storage/data_stores/main/profile.py
index 2b52cf9c1a..bfc9369f0b 100644
--- a/synapse/storage/data_stores/main/profile.py
+++ b/synapse/storage/data_stores/main/profile.py
@@ -110,7 +110,7 @@ class ProfileStore(ProfileWorkerStore):
         return self.db.simple_update(
             table="remote_profile_cache",
             keyvalues={"user_id": user_id},
-            values={
+            updatevalues={
                 "displayname": displayname,
                 "avatar_url": avatar_url,
                 "last_check": self._clock.time_msec(),