From 71e16afbb41382e8bcd147defca023d57393766d Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Mon, 25 Jun 2018 11:44:42 -0400 Subject: [PATCH] Fix bad action when tapping on a push notification (#1822) --- app/actions/views/root.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/actions/views/root.js b/app/actions/views/root.js index fa8cfdb71..131719a9f 100644 --- a/app/actions/views/root.js +++ b/app/actions/views/root.js @@ -87,7 +87,7 @@ export function loadFromPushNotification(notification) { // we should get the posts if (channelId === currentChannelId) { dispatch(markChannelAsRead(channelId, null, false)); - await dispatch(retryGetPostsAction(getPosts(channelId))); + await retryGetPostsAction(getPosts(channelId), dispatch, getState); } else { // when the notification is from a channel other than the current channel dispatch(markChannelAsRead(channelId, currentChannelId, false));