diff --git a/android/app/src/play/java/chat/rocket/reactnative/CustomPushNotification.java b/android/app/src/play/java/chat/rocket/reactnative/CustomPushNotification.java index 2232517ca..a6c96d55b 100644 --- a/android/app/src/play/java/chat/rocket/reactnative/CustomPushNotification.java +++ b/android/app/src/play/java/chat/rocket/reactnative/CustomPushNotification.java @@ -97,9 +97,13 @@ public class CustomPushNotification extends PushNotification { bundle.putString("senderId", hasSender ? loadedEjson.sender._id : "1"); bundle.putString("avatarUri", loadedEjson.getAvatarUri()); - notificationMessages.get(notId).add(bundle); - postNotification(Integer.parseInt(notId)); - notifyReceivedToJS(); + if (loadedEjson.notificationType == "videoconf") { + notifyReceivedToJS(); + } else { + notificationMessages.get(notId).add(bundle); + postNotification(Integer.parseInt(notId)); + notifyReceivedToJS(); + } } @Override