Filter servers also by their name
This commit is contained in:
parent
ab390704eb
commit
4760ccac5e
@ -121,7 +121,7 @@ class FilteredHomeservers(FieldSubstringFilter):
|
|||||||
"""Filtered list of public Matrix homeservers."""
|
"""Filtered list of public Matrix homeservers."""
|
||||||
|
|
||||||
def __init__(self) -> None:
|
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:
|
def accept_source(self, source: Model) -> bool:
|
||||||
|
Loading…
Reference in New Issue
Block a user