summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorPatrick Cloke <patrickc@matrix.org>2022-10-24 09:33:21 -0400
committerPatrick Cloke <patrickc@matrix.org>2022-10-24 09:33:21 -0400
commitf813e2ef48911cf1fc5aabcde57c1858d12d3722 (patch)
treec710e2e69bc968f56c1c241ac0815f273056e4f3 /synapse/api
parentBump serde_json from 1.0.86 to 1.0.87 (#14279) (diff)
downloadsynapse-github/clokep/stable-threads.tar.xz
Remove unstable flags for threads. github/clokep/stable-threads clokep/stable-threads
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/filtering.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/synapse/api/filtering.py b/synapse/api/filtering.py

index 26be377d03..f9bbdff66d 100644 --- a/synapse/api/filtering.py +++ b/synapse/api/filtering.py
@@ -91,12 +91,11 @@ ROOM_EVENT_FILTER_SCHEMA = { "lazy_load_members": {"type": "boolean"}, "include_redundant_members": {"type": "boolean"}, "unread_thread_notifications": {"type": "boolean"}, - "org.matrix.msc3773.unread_thread_notifications": {"type": "boolean"}, # Include or exclude events with the provided labels. # cf https://github.com/matrix-org/matrix-doc/pull/2326 "org.matrix.labels": {"type": "array", "items": {"type": "string"}}, "org.matrix.not_labels": {"type": "array", "items": {"type": "string"}}, - # MSC3440, filtering by event relations. + # Filtering by event relations, deprecated. "related_by_senders": {"type": "array", "items": {"type": "string"}}, "related_by_rel_types": {"type": "array", "items": {"type": "string"}}, }, @@ -318,13 +317,6 @@ class Filter: self.unread_thread_notifications: bool = filter_json.get( "unread_thread_notifications", False ) - if ( - not self.unread_thread_notifications - and hs.config.experimental.msc3773_enabled - ): - self.unread_thread_notifications = filter_json.get( - "org.matrix.msc3773.unread_thread_notifications", False - ) self.types = filter_json.get("types", None) self.not_types = filter_json.get("not_types", [])