summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-12-12 00:57:39 +0000
committerMatthew Hodgson <matthew@matrix.org>2018-12-12 00:57:39 +0000
commit82886e4c8f0a639dba38ba91b625bee12b8c2357 (patch)
treeb52a3d676e86bcdf3de81826d31f756d7521b946 /synapse/storage
parentfix sense of 'hide' (diff)
downloadsynapse-github/matthew/red_list.tar.xz
hide_profile: false should mean not to hide the profile :/ github/matthew/red_list matthew/red_list
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/profile.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/profile.py b/synapse/storage/profile.py

index a8fbc604b6..488e31c8b2 100644 --- a/synapse/storage/profile.py +++ b/synapse/storage/profile.py
@@ -153,6 +153,8 @@ class ProfileWorkerStore(SQLBaseStore): "batch": batchnum, } if not active and not hide: + # we are deactivating for real (not in hide mode) + # so clear the profile. values["avatar_url"] = None values["displayname"] = None return self._simple_upsert(