屏蔽进入和退出消息
This commit is contained in:
parent
655668d7e4
commit
24e59380a8
@ -193,7 +193,7 @@
|
|||||||
//自己进入
|
//自己进入
|
||||||
that.appendMessageItem(roomSysMessage({ stateIcon: "fa-info-circle", state: "system", msg: "您已进入房间,当前房间在线 " + room.onlinecount + " 人。" }));
|
that.appendMessageItem(roomSysMessage({ stateIcon: "fa-info-circle", state: "system", msg: "您已进入房间,当前房间在线 " + room.onlinecount + " 人。" }));
|
||||||
} else {
|
} else {
|
||||||
that.appendMessageItem(roomSysMessage({ stateIcon: "fa-info-circle", state: "system", msg: '<a href="javascript:;" class="chat-item-at" data-un="' + utility.htmlEncode(info[1]) + '">' + utility.htmlEncode(info[2]) + '</a> 已进入房间,当前房间在线 ' + room.onlinecount + " 人。" }));
|
//that.appendMessageItem(roomSysMessage({ stateIcon: "fa-info-circle", state: "system", msg: '<a href="javascript:;" class="chat-item-at" data-un="' + utility.htmlEncode(info[1]) + '">' + utility.htmlEncode(info[2]) + '</a> 已进入房间,当前房间在线 ' + room.onlinecount + " 人。" }));
|
||||||
}
|
}
|
||||||
} else if (msg.sysMsgType === cmds.SYS_USEREXIT) {
|
} else if (msg.sysMsgType === cmds.SYS_USEREXIT) {
|
||||||
//用户退出
|
//用户退出
|
||||||
@ -205,7 +205,7 @@
|
|||||||
//自己进入
|
//自己进入
|
||||||
that.appendMessageItem(roomSysMessage({ stateIcon: "fa-info-circle", state: "system", msg: "您已离开房间,当前房间在线 " + room.onlinecount + " 人。" }));
|
that.appendMessageItem(roomSysMessage({ stateIcon: "fa-info-circle", state: "system", msg: "您已离开房间,当前房间在线 " + room.onlinecount + " 人。" }));
|
||||||
} else {
|
} else {
|
||||||
that.appendMessageItem(roomSysMessage({ stateIcon: "fa-info-circle", state: "system", msg: '<a href="javascript:;" class="chat-item-at" data-un="' + utility.htmlEncode(info[1]) + '">' + utility.htmlEncode(info[2]) + '</a> 已离开房间,当前房间在线 ' + room.onlinecount + " 人。" }));
|
//that.appendMessageItem(roomSysMessage({ stateIcon: "fa-info-circle", state: "system", msg: '<a href="javascript:;" class="chat-item-at" data-un="' + utility.htmlEncode(info[1]) + '">' + utility.htmlEncode(info[2]) + '</a> 已离开房间,当前房间在线 ' + room.onlinecount + " 人。" }));
|
||||||
}
|
}
|
||||||
} else if (msg.sysMsgType === cmds.SYS_SENDFAILED) {
|
} else if (msg.sysMsgType === cmds.SYS_SENDFAILED) {
|
||||||
} else if (msg.sysMsgType === cmds.SYS_OPERATIONBLOCKED) {
|
} else if (msg.sysMsgType === cmds.SYS_OPERATIONBLOCKED) {
|
||||||
|
Loading…
Reference in New Issue
Block a user