diff options
author | Matthew Hodgson <matthew@matrix.org> | 2018-11-04 23:49:57 +0000 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2018-11-04 23:49:57 +0000 |
commit | 08919847c1e80c3d8a3bae2483980e2909083664 (patch) | |
tree | 7528031afbb02b51a8e4ec1834b3c09e3ac5ec30 | |
parent | pull in profile_handler correctly (diff) | |
download | synapse-08919847c1e80c3d8a3bae2483980e2909083664.tar.xz |
fix sense of 'hide'
-rw-r--r-- | synapse/storage/profile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/profile.py b/synapse/storage/profile.py index 3f6b64c40d..a8fbc604b6 100644 --- a/synapse/storage/profile.py +++ b/synapse/storage/profile.py @@ -152,7 +152,7 @@ class ProfileWorkerStore(SQLBaseStore): "active": int(active), "batch": batchnum, } - if not active and hide: + if not active and not hide: values["avatar_url"] = None values["displayname"] = None return self._simple_upsert( |