Always create a new session
This commit is contained in:
parent
fc6982ce08
commit
c2184ce8e1
9
dist/converse.js
vendored
9
dist/converse.js
vendored
@ -71908,12 +71908,9 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
||||
},
|
||||
|
||||
getSessionCipher(jid, id) {
|
||||
if (!this.session_cipher) {
|
||||
const _converse = this.__super__._converse,
|
||||
address = new libsignal.SignalProtocolAddress(jid, id);
|
||||
this.session_cipher = new window.libsignal.SessionCipher(_converse.omemo_store, address);
|
||||
}
|
||||
|
||||
const _converse = this.__super__._converse,
|
||||
address = new libsignal.SignalProtocolAddress(jid, id);
|
||||
this.session_cipher = new window.libsignal.SessionCipher(_converse.omemo_store, address);
|
||||
return this.session_cipher;
|
||||
},
|
||||
|
||||
|
@ -332,11 +332,9 @@
|
||||
},
|
||||
|
||||
getSessionCipher (jid, id) {
|
||||
if (!this.session_cipher) {
|
||||
const { _converse } = this.__super__,
|
||||
address = new libsignal.SignalProtocolAddress(jid, id);
|
||||
this.session_cipher = new window.libsignal.SessionCipher(_converse.omemo_store, address);
|
||||
}
|
||||
const { _converse } = this.__super__,
|
||||
address = new libsignal.SignalProtocolAddress(jid, id);
|
||||
this.session_cipher = new window.libsignal.SessionCipher(_converse.omemo_store, address);
|
||||
return this.session_cipher;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user