[LibOlm] Update to fix encryption
This commit is contained in:
parent
f681bf93ab
commit
208ee0581a
|
@ -1617,7 +1617,7 @@ class Client {
|
|||
List<olm.Session> existingSessions = olmSessions[senderKey];
|
||||
if (existingSessions != null) {
|
||||
for (olm.Session session in existingSessions) {
|
||||
if (type == 0 && session.matches_inbound(body) != 0) {
|
||||
if (type == 0 && session.matches_inbound(body) == true) {
|
||||
plaintext = session.decrypt(type, body);
|
||||
storeOlmSession(senderKey, session);
|
||||
break;
|
||||
|
|
|
@ -292,8 +292,8 @@ packages:
|
|||
dependency: "direct main"
|
||||
description:
|
||||
path: "."
|
||||
ref: "307dc133867eb5bf80d4f5c7412e58621dfca3cf"
|
||||
resolved-ref: "307dc133867eb5bf80d4f5c7412e58621dfca3cf"
|
||||
ref: bbc7ce10a52be5d5c10d2eb6c3591aade71356e2
|
||||
resolved-ref: bbc7ce10a52be5d5c10d2eb6c3591aade71356e2
|
||||
url: "https://gitlab.com/famedly/libraries/dart-olm.git"
|
||||
source: git
|
||||
version: "0.0.0"
|
||||
|
|
|
@ -15,7 +15,7 @@ dependencies:
|
|||
olm:
|
||||
git:
|
||||
url: https://gitlab.com/famedly/libraries/dart-olm.git
|
||||
ref: 307dc133867eb5bf80d4f5c7412e58621dfca3cf
|
||||
ref: bbc7ce10a52be5d5c10d2eb6c3591aade71356e2
|
||||
|
||||
dev_dependencies:
|
||||
test: ^1.0.0
|
||||
|
|
Loading…
Reference in a new issue