forked from MirrorHub/synapse
Fix a small typo in the arguments of simple_update in update_remote_profile_cache (#7511)
This commit is contained in:
parent
24d9151a08
commit
86614e251f
2 changed files with 2 additions and 1 deletions
1
changelog.d/7511.bugfix
Normal file
1
changelog.d/7511.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fix a long-standing bug that broke the update remote profile background process.
|
|
@ -110,7 +110,7 @@ class ProfileStore(ProfileWorkerStore):
|
||||||
return self.db.simple_update(
|
return self.db.simple_update(
|
||||||
table="remote_profile_cache",
|
table="remote_profile_cache",
|
||||||
keyvalues={"user_id": user_id},
|
keyvalues={"user_id": user_id},
|
||||||
values={
|
updatevalues={
|
||||||
"displayname": displayname,
|
"displayname": displayname,
|
||||||
"avatar_url": avatar_url,
|
"avatar_url": avatar_url,
|
||||||
"last_check": self._clock.time_msec(),
|
"last_check": self._clock.time_msec(),
|
||||||
|
|
Loading…
Reference in a new issue