mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-19 05:38:31 +00:00
Fixed deleting outbound messages
This commit is contained in:
parent
772eb6ca97
commit
a2e585b0ed
1 changed files with 1 additions and 2 deletions
|
@ -2243,8 +2243,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
|
||||
EntityFolder folder = db.folder().getFolder(message.folder);
|
||||
|
||||
if (EntityFolder.OUTBOX.equals(folder.type) &&
|
||||
(message.ui_snoozed != null || !TextUtils.isEmpty(message.error))) {
|
||||
if (EntityFolder.OUTBOX.equals(folder.type)) {
|
||||
db.message().deleteMessage(id);
|
||||
|
||||
db.folder().setFolderError(message.folder, null);
|
||||
|
|
Loading…
Reference in a new issue