diff --git a/webapp/channels/src/actions/websocket_actions.jsx b/webapp/channels/src/actions/websocket_actions.jsx index ed6e1fa0ec..9b09b1b959 100644 --- a/webapp/channels/src/actions/websocket_actions.jsx +++ b/webapp/channels/src/actions/websocket_actions.jsx @@ -1042,9 +1042,8 @@ function handleUserAddedEvent(msg) { } // Load the channel so that it appears in the sidebar - const currentTeamId = getCurrentTeamId(doGetState()); const currentUserId = getCurrentUserId(doGetState()); - if (currentTeamId === msg.data.team_id && currentUserId === msg.data.user_id) { + if (currentUserId === msg.data.user_id) { doDispatch(fetchChannelAndAddToSidebar(msg.broadcast.channel_id)); }