fix notifications opening the wrong account (#1408)

main
Konrad Pozniak 5 years ago committed by GitHub
parent bbe77f5345
commit 802d07cc1c
  1. 2
      app/src/main/java/com/keylesspalace/tusky/util/NotificationHelper.java

@ -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

Loading…
Cancel
Save