diff options
author | Corey Hulen <corey@hulen.com> | 2015-10-08 09:51:04 -0700 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2015-10-08 09:51:04 -0700 |
commit | e36227405b4bc44fe3cea52f2082c723a91366ea (patch) | |
tree | 78f585a8ae7d0da8afc4a5ca03d00302df99c34f /web/react/components/channel_header.jsx | |
parent | 26252ccebf23d8e0ce6cd0f6b79b268e5c3b90fd (diff) | |
parent | 70144962522a5d8db1c46cbd93d83e64b8ca778b (diff) | |
download | chat-e36227405b4bc44fe3cea52f2082c723a91366ea.tar.gz chat-e36227405b4bc44fe3cea52f2082c723a91366ea.tar.bz2 chat-e36227405b4bc44fe3cea52f2082c723a91366ea.zip |
Merge pull request #978 from mattermost/plt-355
PLT-355 Fixing ability to dynamicly update members list.
Diffstat (limited to 'web/react/components/channel_header.jsx')
-rw-r--r-- | web/react/components/channel_header.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/react/components/channel_header.jsx b/web/react/components/channel_header.jsx index f15974d35..92f60ea86 100644 --- a/web/react/components/channel_header.jsx +++ b/web/react/components/channel_header.jsx @@ -58,7 +58,9 @@ export default class ChannelHeader extends React.Component { $('.channel-header__info .description').popover({placement: 'bottom', trigger: 'hover', html: true, delay: {show: 500, hide: 500}}); } onSocketChange(msg) { - if (msg.action === 'new_user') { + if (msg.action === 'new_user' || + msg.action === 'user_added' || + (msg.action === 'user_removed' && msg.user_id !== UserStore.getCurrentId())) { AsyncClient.getChannelExtraInfo(true); } } |