chore: add verify to videoconf push on android

This commit is contained in:
GleidsonDaniel 2023-10-02 14:46:01 -03:00
parent 987dc52441
commit 538e9d7e8e
1 changed files with 7 additions and 3 deletions

View File

@ -97,9 +97,13 @@ public class CustomPushNotification extends PushNotification {
bundle.putString("senderId", hasSender ? loadedEjson.sender._id : "1"); bundle.putString("senderId", hasSender ? loadedEjson.sender._id : "1");
bundle.putString("avatarUri", loadedEjson.getAvatarUri()); bundle.putString("avatarUri", loadedEjson.getAvatarUri());
notificationMessages.get(notId).add(bundle); if (loadedEjson.notificationType == "videoconf") {
postNotification(Integer.parseInt(notId)); notifyReceivedToJS();
notifyReceivedToJS(); } else {
notificationMessages.get(notId).add(bundle);
postNotification(Integer.parseInt(notId));
notifyReceivedToJS();
}
} }
@Override @Override