mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-10 20:17:32 +01:00
using wrong method here
This commit is contained in:
parent
af423b1c7f
commit
8d64fa54fe
@ -138,7 +138,7 @@ export class Account {
|
|||||||
createOutboundOlmSession(theirIdentityKey, theirOneTimeKey) {
|
createOutboundOlmSession(theirIdentityKey, theirOneTimeKey) {
|
||||||
const newSession = new this._olm.Session();
|
const newSession = new this._olm.Session();
|
||||||
try {
|
try {
|
||||||
newSession.create_outbound_from(this._account, theirIdentityKey, theirOneTimeKey);
|
newSession.create_outbound(this._account, theirIdentityKey, theirOneTimeKey);
|
||||||
return newSession;
|
return newSession;
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
newSession.free();
|
newSession.free();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user