mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-08 05:01:58 +00: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