Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04d68624 authored by cketti's avatar cketti
Browse files

Remove notification when a message was deleted

parent 11c85745
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2775,6 +2775,11 @@ public class MessagingController {
            for (MessagingListener messagingListener : getListeners(listener)) {
                messagingListener.synchronizeMailboxRemovedMessage(account, folderServerId, messageServerId);
            }

            String accountUuid = account.getUuid();
            long folderId = getFolderIdOrThrow(account, folderServerId);
            MessageReference messageReference = new MessageReference(accountUuid, folderId, messageServerId, null);
            notificationController.removeNewMailNotification(account, messageReference);
        }

        @Override