From ddea1dedbe89143d2a7e849553f06887eb6353c3 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Mon, 11 Nov 2019 14:46:24 -0500 Subject: [PATCH] MM-19812 Properly handle in-app update_badge notifications (#3531) --- app/utils/push_notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/push_notifications.js b/app/utils/push_notifications.js index 29e4dc274..94f1dd674 100644 --- a/app/utils/push_notifications.js +++ b/app/utils/push_notifications.js @@ -75,7 +75,7 @@ class PushNotificationUtils { if (data.type === 'clear') { dispatch(markChannelViewedAndRead(data.channel_id, null, false)); - } else { + } else if (data.type === 'message') { // get the posts for the channel as soon as possible retryGetPostsAction(getPosts(data.channel_id), dispatch, getState);