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

Commit a2fe3bda authored by Jesse Vincent's avatar Jesse Vincent
Browse files

When a new mail alert is alerting about a specific mailbox rather than

inbox, default to having it open that mailbox.  Patch from thardie
parent 745ff494
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4630,7 +4630,7 @@ public class MessagingController implements Runnable
        Notification notif = new Notification(R.drawable.stat_notify_email_generic, messageNotice, System.currentTimeMillis());
        notif.number = previousUnreadMessageCount + newMessageCount.get();

        Intent i = FolderList.actionHandleNotification(context, account, account.getAutoExpandFolderName());
        Intent i = FolderList.actionHandleNotification(context, account, message.getFolder().getName());
        PendingIntent pi = PendingIntent.getActivity(context, 0, i, 0);

        String accountNotice = context.getString(R.string.notification_new_one_account_fmt, notif.number, account.getDescription());