mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-23 21:45:42 +03:00
Dont cancel guest notifications as there are none
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
c4ee25aee0
commit
41f5dd9a24
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ public class NotificationUtils {
|
|||
}
|
||||
|
||||
public static void cancelExistingNotifications(Context context, UserEntity conversationUser) {
|
||||
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.M) {
|
||||
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.M && conversationUser.getId() != -1) {
|
||||
|
||||
NotificationManager notificationManager =
|
||||
(NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
|
|
Loading…
Reference in a new issue