Fixing ability to dynamicly update members list.
Этот коммит содержится в:
@@ -55,12 +55,17 @@ func TestSocket(t *testing.T) {
|
||||
time.Sleep(300 * time.Millisecond)
|
||||
Client.Must(Client.JoinChannel(channel1.Id))
|
||||
|
||||
// Read the join channel message that gets generated
|
||||
// Read the user_added message that gets generated
|
||||
var rmsg model.Message
|
||||
if err := c2.ReadJSON(&rmsg); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
// Read the second user_added message that gets generated
|
||||
if err := c2.ReadJSON(&rmsg); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
// Test sending message without a channelId
|
||||
m := model.NewMessage("", "", "", model.ACTION_TYPING)
|
||||
m.Add("RootId", model.NewId())
|
||||
|
||||
Ссылка в новой задаче
Block a user