private bool OnRecvFriendChatMsgNotify(RecvFriendChatMsgNotify rsp) { if ((this._talkingFriendUid > 0) && (rsp.get_chat_msg().get_uid() == this._talkingFriendUid)) { if (this._mode == Mode.Friend) { this.UpdateChatList(1); } Singleton <ChatModule> .Instance.SetFriendMsgRead(this._talkingFriendUid); } else { this.SetupFriendList(); this.UpdateNewMsgBtnTip(); } return(false); }
private bool OnRecvFriendChatMsgNotify(RecvFriendChatMsgNotify rsp) { this.AddFriendChatMsg(new ChatMsgDataItem(rsp.get_chat_msg())); return(false); }