diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-11-01 11:13:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-01 11:13:33 -0400 |
commit | 92642bab6852d02e6b58f881ac909788299d0c5c (patch) | |
tree | 9c54d4c54bc29a488a34e659a3b75b3d2105ce03 /webapp/actions/channel_actions.jsx | |
parent | 9bae1f7e9308be8c7084f73e6b897dde24aad717 (diff) | |
download | chat-92642bab6852d02e6b58f881ac909788299d0c5c.tar.gz chat-92642bab6852d02e6b58f881ac909788299d0c5c.tar.bz2 chat-92642bab6852d02e6b58f881ac909788299d0c5c.zip |
Load channel members with channels to make sure we have latest unread counts (#4389)
Diffstat (limited to 'webapp/actions/channel_actions.jsx')
-rw-r--r-- | webapp/actions/channel_actions.jsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webapp/actions/channel_actions.jsx b/webapp/actions/channel_actions.jsx index c9c4e6883..5003d6530 100644 --- a/webapp/actions/channel_actions.jsx +++ b/webapp/actions/channel_actions.jsx @@ -186,3 +186,8 @@ export function unmarkFavorite(channelId) { AsyncClient.deletePreferences([pref]); } + +export function loadChannelsForCurrentUser() { + AsyncClient.getChannels(); + AsyncClient.getMyChannelMembers(); +} |