mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01: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
@ -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 New Issue
Block a user