Fixed error logged when joining a team from another tab (#4620)

Этот коммит содержится в:
Harrison Healey
2016-11-21 16:48:27 -05:00
коммит произвёл GitHub
родитель 3c0f8c29db
Коммит fd019eefbb

Просмотреть файл

@@ -211,6 +211,11 @@ function handleNewUserEvent(msg) {
return;
}
if (msg.data.user_id === UserStore.getCurrentId()) {
// We should already have ourselves
return;
}
AsyncClient.getUser(msg.data.user_id);
AsyncClient.getChannelStats();
loadProfilesAndTeamMembersForDMSidebar();