t添加了提示和直播

This commit is contained in:
2020-08-27 09:52:43 +08:00
parent 6d4c9dc5a4
commit 4e02daa854
3 changed files with 47 additions and 1 deletions

View File

@@ -126,6 +126,7 @@
this.friend = JSON.parse(options.id);
this.currentUser = this.imService.currentUser;
let privateMessages = this.imService.getPrivateMessages(this.friend.uuid);
this.imService.uid = this.friend.uuid;
this.messages = privateMessages.sentMessages;
this.pendingMessages = privateMessages.pendingMessages;
@@ -151,6 +152,7 @@
this.imService.onPrivateHistoryLoad = (friendId, messages) =>{};
//将未读消息数清零
this.imService.resetFriendUnReadMessage(this.friend);
this.imService.uid = 0;
},
methods: {
initialListeners () {