diff options
Diffstat (limited to 'webapp/actions/post_actions.jsx')
-rw-r--r-- | webapp/actions/post_actions.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/actions/post_actions.jsx b/webapp/actions/post_actions.jsx index 462576021..1a2056a2e 100644 --- a/webapp/actions/post_actions.jsx +++ b/webapp/actions/post_actions.jsx @@ -120,7 +120,7 @@ export function setUnreadPost(channelId, postId) { member.msg_count = channel.total_msg_count - unreadPosts; member.mention_count = 0; ChannelStore.storeMyChannelMember(member); - ChannelStore.setUnreadCount(channelId); + ChannelStore.setUnreadCountByChannel(channelId); AsyncClient.setLastViewedAt(lastViewed, channelId); } |