Filter servers also by their name

This commit is contained in:
miruka 2020-08-19 06:37:26 -04:00
parent ab390704eb
commit 4760ccac5e

View File

@ -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: