mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-24 14:05:40 +03:00
Merge pull request #2128 from nextcloud/bugfix/2111/open-wrong-conversation
Use unique request code to create PendingIntent
This commit is contained in:
commit
073a6a1a90
1 changed files with 4 additions and 1 deletions
|
@ -292,7 +292,10 @@ public class NotificationWorker extends Worker {
|
|||
}
|
||||
}
|
||||
|
||||
PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, 0);
|
||||
// Use unique request code to make sure that a new PendingIntent gets created for each notification
|
||||
// See https://github.com/nextcloud/talk-android/issues/2111
|
||||
int requestCode = (int) System.currentTimeMillis();
|
||||
PendingIntent pendingIntent = PendingIntent.getActivity(context, requestCode, intent, 0);
|
||||
|
||||
Uri uri = Uri.parse(signatureVerification.getUserEntity().getBaseUrl());
|
||||
String baseUrl = uri.getHost();
|
||||
|
|
Loading…
Reference in a new issue