Trying to fix an OBS cache problem, where OBS can't connect to the chat after a plugin update.
This commit is contained in:
parent
5943e059f9
commit
a3484ac963
@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## 5.2.1
|
||||
|
||||
### Fixes
|
||||
|
||||
* Trying to fix an OBS cache problem, where OBS can't connect to the chat after a plugin update.
|
||||
|
||||
## 5.2.0
|
||||
|
||||
### Features
|
||||
|
@ -180,6 +180,11 @@ window.initConverse = async function initConverse ({
|
||||
console.log('User is not authenticated.')
|
||||
if (forceReadonly) {
|
||||
params.nickname = 'Viewer ' + (new Date()).getTime().toString()
|
||||
|
||||
// To avoid some bugs in OBS, trying to clear the session storage before ConverseJS connects.
|
||||
if (window.sessionStorage?.clear) {
|
||||
window.sessionStorage.clear()
|
||||
}
|
||||
}
|
||||
// TODO: try to make these params work
|
||||
// params.muc_nickname_from_jid = true => compute the muc nickname from the jid (will be random here)
|
||||
|
Loading…
x
Reference in New Issue
Block a user