From e86a15bc49bc6ff9bfe8106a4568f0a5ad8f00b3 Mon Sep 17 00:00:00 2001 From: Miguel Alatzar Date: Mon, 11 Nov 2019 13:00:43 -0700 Subject: [PATCH] Revert "MM-19812 Properly handle in-app update_badge notifications (#3540)" This reverts commit 5f1d970fc81de15dc854ade0753cd14565a3de7a. --- 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 94f1dd674..29e4dc274 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 if (data.type === 'message') { + } else { // get the posts for the channel as soon as possible retryGetPostsAction(getPosts(data.channel_id), dispatch, getState);