public void AppendMessage(string msg, string user) { MessageStore.AppendMessage(msg, user); if (Chatter != null) { Chatter.UpdateMessage(); IsReceiveNewMessage = false; } else { IsReceiveNewMessage = true; } }