mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
fixup
This commit is contained in:
parent
c980c7e31f
commit
8b618041ef
@ -648,7 +648,7 @@ class UserDirectoryStore(BackgroundUpdateStore):
|
||||
) AS s USING (user_id)
|
||||
"""
|
||||
join_args = (user_id,)
|
||||
where_clause = "p.user_id IS NOT NULL"
|
||||
where_clause = "(s.user_id IS NOT NULL OR p.user_id IS NOT NULL)"
|
||||
|
||||
if isinstance(self.database_engine, PostgresEngine):
|
||||
full_query, exact_query, prefix_query = _parse_query_postgres(search_term)
|
||||
|
Loading…
Reference in New Issue
Block a user