mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix msg command so that it doesn't try to pull all user profiles at once (#4936)
This commit is contained in:
committed by
Corey Hulen
parent
1442199647
commit
8945bd6cd0
@@ -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"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user