Refactoring + new embedded chat:
* moving conversejs plugin in separate files * disconnecting embedded chat on navigation-end
This commit is contained in:
@ -21,6 +21,10 @@ async function register (clientOptions: RegisterClientOptions): Promise<void> {
|
||||
}
|
||||
container.remove()
|
||||
}
|
||||
|
||||
if (window.converse?.livechatDisconnect) {
|
||||
window.converse.livechatDisconnect()
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user