forked from MirrorHub/synapse
Fix
This commit is contained in:
parent
0d67a8cd9d
commit
0a56966f7d
1 changed files with 2 additions and 1 deletions
|
@ -340,7 +340,8 @@ class StatsStore(StateDeltasStore):
|
||||||
"avatar",
|
"avatar",
|
||||||
"canonical_alias"
|
"canonical_alias"
|
||||||
):
|
):
|
||||||
if "\0" in fields.get(col, ""):
|
field = fields.get(col)
|
||||||
|
if field and "\0" in field:
|
||||||
fields[col] = None
|
fields[col] = None
|
||||||
|
|
||||||
return self._simple_upsert(
|
return self._simple_upsert(
|
||||||
|
|
Loading…
Reference in a new issue