This commit is contained in:
Erik Johnston 2019-06-03 17:42:52 +01:00
parent 0d67a8cd9d
commit 0a56966f7d

View file

@ -340,7 +340,8 @@ class StatsStore(StateDeltasStore):
"avatar",
"canonical_alias"
):
if "\0" in fields.get(col, ""):
field = fields.get(col)
if field and "\0" in field:
fields[col] = None
return self._simple_upsert(