勉强解决

This commit is contained in:
2020-08-08 16:14:25 +08:00
parent 9e96eeb575
commit 5abe5620f5
2 changed files with 15 additions and 3 deletions

View File

@@ -833,7 +833,16 @@ IMService.prototype.sendMessages = function (roomId, content) {
//退出聊天室
IMService.prototype.quitRoom = function (roomId) {
this.im.disconnect()
// this.im.subscribeGroup([0])
// .then(result => {
// console.log('消息订阅成功')
// }).catch(e => {
// console.log(e,'失败')
// })
// this.subscribePresence(0);
this.disconnect()
this.connectIM()
};