Draft: fix: Search: Fix global search when chat is selected

Fixes #12798

@mesonium please check if this breaks something that you intentionally added in 1f95cd87 I'm not sure why is_bare_contact is needed in these conditions.

Merge request reports

Loading
Loading