MM-19812 Properly handle in-app update_badge notifications (#3531)

This commit is contained in:
Harrison Healey 2019-11-11 14:46:24 -05:00 committed by Miguel Alatzar
parent e69bec46a9
commit ddea1dedbe

View file

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