[Room] Decrypt only encrypted events
This commit is contained in:
parent
33c08a042b
commit
d05d22e6af
|
@ -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