Fixed trashing found messages

pull/209/head
M66B 2 years ago
parent 49b50857eb
commit b9b2650e81

@ -520,7 +520,8 @@ public class FragmentMessages extends FragmentBase
setTitle(server ? R.string.title_search_server : R.string.title_search_device); 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; filter_archive = false;
try { try {

Loading…
Cancel
Save