mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-21 03:42:55 +03:00
fix sense of 'hide'
This commit is contained in:
parent
c3acc45a87
commit
08919847c1
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class ProfileWorkerStore(SQLBaseStore):
|
||||||
"active": int(active),
|
"active": int(active),
|
||||||
"batch": batchnum,
|
"batch": batchnum,
|
||||||
}
|
}
|
||||||
if not active and hide:
|
if not active and not hide:
|
||||||
values["avatar_url"] = None
|
values["avatar_url"] = None
|
||||||
values["displayname"] = None
|
values["displayname"] = None
|
||||||
return self._simple_upsert(
|
return self._simple_upsert(
|
||||||
|
|
Loading…
Reference in a new issue