mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix
This commit is contained in:
parent
0d67a8cd9d
commit
0a56966f7d
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user