去除了群发消息提示音

master
cleverqin 4 years ago
parent 7fe7f0948e
commit 595664838c

@ -973,9 +973,11 @@ new Vue({
this.scrollFooter();
}else{
if(this.setting.isVoice&&this.$refs.audio){
if(to.type!='group'){
this.$refs.audio.play();
}
}
}
},
scrollFooter(){
let $list=this.$refs['messageList'];
@ -1155,10 +1157,12 @@ new Vue({
_this.saveLog("重新连接!"+JSON.stringify(data)+ ' - reconnect',"info");
})
_this.socket.on("reconnect_attempt",(data)=>{
if(_this.loginUser){
_this.socket.io.opts.query={
User:_this.loginUser.id?JSON.stringify(_this.loginUser):''
}
_this.saveLog("尝试重新连接!"+JSON.stringify(data)+ ' - reconnect_attempt',"info");
}
})
_this.socket.on("loginSuccess",(user,users)=>{
_this.loginUser=user;

@ -973,9 +973,11 @@ new Vue({
this.scrollFooter();
}else{
if(this.setting.isVoice&&this.$refs.audio){
if(to.type!='group'){
this.$refs.audio.play();
}
}
}
},
scrollFooter(){
let $list=this.$refs['messageList'];
@ -1155,10 +1157,12 @@ new Vue({
_this.saveLog("重新连接!"+JSON.stringify(data)+ ' - reconnect',"info");
})
_this.socket.on("reconnect_attempt",(data)=>{
if(_this.loginUser){
_this.socket.io.opts.query={
User:_this.loginUser.id?JSON.stringify(_this.loginUser):''
}
_this.saveLog("尝试重新连接!"+JSON.stringify(data)+ ' - reconnect_attempt',"info");
}
})
_this.socket.on("loginSuccess",(user,users)=>{
_this.loginUser=user;

Loading…
Cancel
Save