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

Unverified Commit bb4baa16 authored by cketti's avatar cketti Committed by GitHub
Browse files

Merge pull request #5546 from k9mail/remove_notification_for_deleted_message

Remove notification when a message is removed from a folder
parents 78317f17 04d68624
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