..
This commit is contained in:
@@ -241,7 +241,7 @@
|
|||||||
window.onunload = () => {
|
window.onunload = () => {
|
||||||
const _gap_time = new Date().getTime() - _beforeUnload_time
|
const _gap_time = new Date().getTime() - _beforeUnload_time
|
||||||
if (_gap_time <= 5) {
|
if (_gap_time <= 5) {
|
||||||
this.ws.send({
|
this.send({
|
||||||
room: "${@auth.getPrincipalProperty('loginname')}:${@auth.getSessionId()}",
|
room: "${@auth.getPrincipalProperty('loginname')}:${@auth.getSessionId()}",
|
||||||
action: "left"
|
action: "left"
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user