pull/5324/head
Erik Johnston 2019-06-03 17:42:52 +01:00
parent 0d67a8cd9d
commit 0a56966f7d
1 changed files with 2 additions and 1 deletions

View File

@ -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(