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

Commit 20b473b4 authored by cketti's avatar cketti
Browse files

Don't skip notifications if the Inbox is configured as another special folder

parent 46747bf1
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