mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
daemon: Remove numeric filters from the sync request.
This commit is contained in:
parent
cb85544ff9
commit
ad641f2a42
@ -198,7 +198,9 @@ class ProxyDaemon:
|
||||
try:
|
||||
sync_filter = json.loads(sync_filter)
|
||||
except (JSONDecodeError, TypeError):
|
||||
pass
|
||||
# If the client is using a numeric filter, remove it since we don't
|
||||
# know yet what the filter contains.
|
||||
sync_filter = None
|
||||
|
||||
# TODO edit the sync filter to not filter encrypted messages
|
||||
# TODO do the same with an uploaded filter
|
||||
|
Loading…
Reference in New Issue
Block a user