From 4760ccac5e1b1b97d31f08959ff27cac7a0b328b Mon Sep 17 00:00:00 2001 From: miruka Date: Wed, 19 Aug 2020 06:37:26 -0400 Subject: [PATCH] Filter servers also by their name --- src/backend/models/special_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/models/special_models.py b/src/backend/models/special_models.py index d1b320f7..bfb8dda4 100644 --- a/src/backend/models/special_models.py +++ b/src/backend/models/special_models.py @@ -121,7 +121,7 @@ class FilteredHomeservers(FieldSubstringFilter): """Filtered list of public Matrix homeservers.""" def __init__(self) -> None: - super().__init__(sync_id="filtered_homeservers", fields=("id",)) + super().__init__(sync_id="filtered_homeservers", fields=("id", "name")) def accept_source(self, source: Model) -> bool: