Fix bad action when tapping on a push notification (#1822)
This commit is contained in:
parent
f30d278cf1
commit
71e16afbb4
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue