Fixed trashing found messages

This commit is contained in:
M66B 2022-09-07 17:51:51 +02:00
parent 49b50857eb
commit b9b2650e81
1 changed files with 2 additions and 1 deletions

View File

@ -520,7 +520,8 @@ public class FragmentMessages extends FragmentBase
setTitle(server ? R.string.title_search_server : R.string.title_search_device);
}
if (viewType != AdapterMessage.ViewType.THREAD && EntityFolder.ARCHIVE.equals(type))
if (viewType != AdapterMessage.ViewType.THREAD &&
(EntityFolder.ARCHIVE.equals(type) || viewType == AdapterMessage.ViewType.SEARCH))
filter_archive = false;
try {