Fix msg command so that it doesn't try to pull all user profiles at once (#4936)

Этот коммит содержится в:
Joram Wilander
2017-01-03 10:09:19 -05:00
коммит произвёл Corey Hulen
родитель 1442199647
Коммит 8945bd6cd0
2 изменённых файлов: 44 добавлений и 48 удалений

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

@@ -38,4 +38,7 @@ func TestMsgCommands(t *testing.T) {
if !strings.HasSuffix(rs3.GotoLocation, "/"+team.Name+"/channels/"+user1.Id+"__"+user2.Id) && !strings.HasSuffix(rs3.GotoLocation, "/"+team.Name+"/channels/"+user2.Id+"__"+user1.Id) {
t.Fatal("failed to go back to existing direct channel")
}
Client.Must(Client.Command("", "/msg "+th.BasicUser.Username+" foobar"))
Client.Must(Client.Command("", "/msg junk foobar"))
}