勉强解决
This commit is contained in:
@@ -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()
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user