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