Fixed crash

This commit is contained in:
M66B 2021-09-26 10:55:19 +02:00
parent d4f98a094f
commit 18b837e779
1 changed files with 3 additions and 0 deletions

View File

@ -5551,6 +5551,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
db.endTransaction();
}
if (junkOnly == null)
junkOnly = false;
ActionData data = new ActionData();
data.delete = (trash == null || junkOnly ||
(account != null && account.protocol == EntityAccount.TYPE_POP));