mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Send fixes
This commit is contained in:
@@ -6205,12 +6205,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
db.message().deleteMessage(id);
|
||||
|
||||
db.folder().setFolderError(message.folder, null);
|
||||
if (message.identity != null) {
|
||||
if (message.identity != null)
|
||||
db.identity().setIdentityError(message.identity, null);
|
||||
|
||||
NotificationManager nm = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
nm.cancel("send:" + message.id, 1);
|
||||
}
|
||||
} else if (message.uid == null && account.protocol == EntityAccount.TYPE_IMAP) {
|
||||
db.message().deleteMessage(id);
|
||||
db.folder().setFolderError(message.folder, null);
|
||||
@@ -6224,6 +6220,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
|
||||
ServiceSynchronize.eval(context, "delete");
|
||||
|
||||
NotificationManager nm = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
nm.cancel("send:" + id, 1);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user