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);