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

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

Merge pull request #4823 from k9mail/always_notify_for_inbox

Don't skip notifications if the Inbox is configured as another special folder
parents 291695b2 20b473b4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -38,6 +38,9 @@ class K9NotificationStrategy(private val contacts: Contacts) : NotificationStrat
        val folder = message.folder
        if (folder != null) {
            when (folder.databaseId) {
                account.inboxFolderId -> {
                    // Don't skip notifications if the Inbox folder is also configured as another special folder
                }
                account.trashFolderId -> {
                    Timber.v("No notification: Message is in Trash folder")
                    return false