mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Fix
This commit is contained in:
parent
0d67a8cd9d
commit
0a56966f7d
@ -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 New Issue
Block a user