添加了消息铃声

This commit is contained in:
2020-08-27 11:06:11 +08:00
parent af612ef89e
commit 18c99cd668
4 changed files with 16 additions and 1 deletions

View File

@@ -128,6 +128,8 @@
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;
@@ -153,6 +155,7 @@
this.imService.onPrivateHistoryLoad = (friendId, messages) =>{};
//将未读消息数清零
this.imService.resetFriendUnReadMessage(this.friend);
this.imService.uid = 0;
},
methods: {
bindtapInput(){