Fix not showing non-federatable rooms to remote room list queries

pull/6153/head
Erik Johnston 2019-10-02 15:20:36 +01:00
parent 8e32240e6b
commit 4c4f44930d
1 changed files with 3 additions and 0 deletions

View File

@ -174,6 +174,9 @@ class RoomWorkerStore(SQLBaseStore):
query_args += [last_joined_members, last_joined_members, last_room_id]
if ignore_non_federatable:
where_clauses.append("is_federatable")
if search_filter and search_filter.get("generic_search_term", None):
search_term = "%" + search_filter["generic_search_term"] + "%"