From 052d91eae72f1e22ac6c8cba33b6ee10ef34002e Mon Sep 17 00:00:00 2001 From: Youssef Muhamad Date: Wed, 29 Jul 2020 18:04:04 -0300 Subject: [PATCH] [FIX] In-app notification showing while in a Jitsi call (#2345) * Hide in app notification when focused on JitsiMeetView * Hide notifications from different rooms Co-authored-by: Diego Mello --- app/containers/InAppNotification/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/containers/InAppNotification/index.js b/app/containers/InAppNotification/index.js index fd0ad6368..dd6573f33 100644 --- a/app/containers/InAppNotification/index.js +++ b/app/containers/InAppNotification/index.js @@ -14,7 +14,7 @@ const InAppNotification = memo(() => { const state = Navigation.navigationRef.current?.getRootState(); const route = getActiveRoute(state); if (payload.rid) { - if (route?.name === 'RoomView' && route.params?.rid === payload.rid) { + if ((route?.name === 'RoomView' && route.params?.rid === payload.rid) || route?.name === 'JitsiMeetView') { return; } Notifier.showNotification({