From 60cfebadf92c394241aa0b11696f2fd207756b8a Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Mon, 16 Mar 2026 11:57:22 -0300 Subject: [PATCH] Ignore voip notifications --- .../reactnative/notification/CustomPushNotification.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/android/app/src/main/java/chat/rocket/reactnative/notification/CustomPushNotification.java b/android/app/src/main/java/chat/rocket/reactnative/notification/CustomPushNotification.java index 8ff006080ba..622c44415b9 100644 --- a/android/app/src/main/java/chat/rocket/reactnative/notification/CustomPushNotification.java +++ b/android/app/src/main/java/chat/rocket/reactnative/notification/CustomPushNotification.java @@ -112,6 +112,11 @@ private void handleNotification() { return; // Exit early, notification will be processed in callback } + if (receivedEjson != null && receivedEjson.notificationType != null && receivedEjson.notificationType.equals("voip")) { + Log.d(TAG, "Notification is a voip notification, ignoring"); + return; + } + // For non-message-id-only notifications, process immediately processNotification(); }