Fix a small typo in the arguments of simple_update in update_remote_profile_cache (#7511)

This commit is contained in:
Andrew Morgan 2020-05-15 16:17:12 +01:00 committed by GitHub
parent 24d9151a08
commit 86614e251f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/7511.bugfix Normal file
View file

@ -0,0 +1 @@
Fix a long-standing bug that broke the update remote profile background process.

View file

@ -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(),