PLT-2806 sending websocket when adding user to team (#2953)

* PLT-2806 sending websocket when adding user to team

* Fixing config file
Этот коммит содержится в:
Corey Hulen
2016-05-10 09:54:11 -07:00
коммит произвёл Christopher Speller
родитель ceaaf2243c
Коммит c8285185a9

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

@@ -275,6 +275,9 @@ func JoinUserToTeam(team *model.Team, user *model.User) *model.AppError {
RemoveAllSessionsForUserId(user.Id)
InvalidateCacheForUser(user.Id)
// This message goes to every channel, so the channelId is irrelevant
PublishAndForget(model.NewMessage("", "", user.Id, model.ACTION_NEW_USER))
return nil
}