fix notifications opening the wrong account (#1408)

This commit is contained in:
Konrad Pozniak 2019-07-25 12:17:30 +02:00 committed by GitHub
parent bbe77f5345
commit 802d07cc1c
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ public class NotificationHelper {
summaryStackBuilder.addParentStack(MainActivity.class);
summaryStackBuilder.addNextIntent(summaryResultIntent);
PendingIntent summaryResultPendingIntent = summaryStackBuilder.getPendingIntent(notificationId,
PendingIntent summaryResultPendingIntent = summaryStackBuilder.getPendingIntent((int) (notificationId + account.getId() * 10000),
PendingIntent.FLAG_UPDATE_CURRENT);
// we have to switch account here