diff options
Diffstat (limited to 'webapp/action_creators/global_actions.jsx')
-rw-r--r-- | webapp/action_creators/global_actions.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/action_creators/global_actions.jsx b/webapp/action_creators/global_actions.jsx index 78c56dd12..c1bb4dbc8 100644 --- a/webapp/action_creators/global_actions.jsx +++ b/webapp/action_creators/global_actions.jsx @@ -234,7 +234,7 @@ export function emitPostRecievedEvent(post, msg) { } else { AsyncClient.getChannel(post.channel_id); } - } else if (msg && TeamStore.getCurrentId() === msg.team_id) { + } else if (msg && (TeamStore.getCurrentId() === msg.team_id || msg.props.channel_type === Constants.DM_CHANNEL)) { AsyncClient.getChannel(post.channel_id); } |