Remove new user event handling on client (#4822)

Этот коммит содержится в:
Joram Wilander
2016-12-22 10:35:55 -05:00
коммит произвёл Christopher Speller
родитель 8a92908dad
Коммит 52c4538817
2 изменённых файлов: 0 добавлений и 29 удалений

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

@@ -303,11 +303,6 @@ func JoinUserToTeam(team *model.Team, user *model.User) *model.AppError {
RemoveAllSessionsForUserId(user.Id)
InvalidateCacheForUser(user.Id)
// This message goes to everyone, so the teamId, channelId and userId are irrelevant
message := model.NewWebSocketEvent(model.WEBSOCKET_EVENT_NEW_USER, "", "", "", nil)
message.Add("user_id", user.Id)
go Publish(message)
return nil
}