Merge branch 'room-fix-decrypt-only-encrypted-events' into 'master'
[Room] Decrypt only encrypted events See merge request famedly/famedlysdk!205
This commit is contained in:
commit
f1bd1ec398
|
@ -1502,6 +1502,7 @@ class Room {
|
|||
|
||||
/// Decrypts the given [event] with one of the available ingoingGroupSessions.
|
||||
Event decryptGroupMessage(Event event) {
|
||||
if (event.type != EventTypes.Encrypted) return event;
|
||||
Map<String, dynamic> decryptedPayload;
|
||||
try {
|
||||
if (!client.encryptionEnabled) {
|
||||
|
|
|
@ -292,8 +292,8 @@ packages:
|
|||
dependency: "direct main"
|
||||
description:
|
||||
path: "."
|
||||
ref: "09eb49dbdb1ad9ed71c6bf74562250ecd3d4198b"
|
||||
resolved-ref: "09eb49dbdb1ad9ed71c6bf74562250ecd3d4198b"
|
||||
ref: "307dc133867eb5bf80d4f5c7412e58621dfca3cf"
|
||||
resolved-ref: "307dc133867eb5bf80d4f5c7412e58621dfca3cf"
|
||||
url: "https://gitlab.com/famedly/libraries/dart-olm.git"
|
||||
source: git
|
||||
version: "0.0.0"
|
||||
|
|
Loading…
Reference in a new issue