Merge pull request #5546 from k9mail/remove_notification_for_deleted_message
Remove notification when a message is removed from a folder
This commit is contained in:
commit
bb4baa1630
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue