diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-01-18 10:04:47 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-01-18 11:19:20 +0000 |
commit | df3a661e4adb7676682a5e3c298a2dfda18b08a1 (patch) | |
tree | 1e24698e9163472abae36681e571059232be938f /synapse/api | |
parent | sign_request -> build_auth_headers (#4408) (diff) | |
download | synapse-df3a661e4adb7676682a5e3c298a2dfda18b08a1.tar.xz |
Search for messages across predecessor rooms
Signed-off-by: Andrew Morgan <andrew@amorgan.xyz>
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/filtering.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/api/filtering.py b/synapse/api/filtering.py index 16ad654864..84000e6422 100644 --- a/synapse/api/filtering.py +++ b/synapse/api/filtering.py @@ -444,6 +444,9 @@ class Filter(object): def include_redundant_members(self): return self.filter_json.get("include_redundant_members", False) + def add_room_ids(self, room_ids): + self.rooms += room_ids + def _matches_wildcard(actual_value, filter_value): if filter_value.endswith("*"): |