summary refs log tree commit diff
path: root/src/encryption/Olm.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-07-29 04:04:44 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-07-29 04:04:44 +0200
commit3c480d47f1510a0a813756735710bbbb8a2ad400 (patch)
tree229b315ffa9d805e903d2c0a8e6a48d0c1b1ff25 /src/encryption/Olm.cpp
parentTranslated using Weblate (Polish) (diff)
downloadnheko-3c480d47f1510a0a813756735710bbbb8a2ad400.tar.xz
Make code compile with hidden friends
Diffstat (limited to 'src/encryption/Olm.cpp')
-rw-r--r--src/encryption/Olm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encryption/Olm.cpp b/src/encryption/Olm.cpp

index ed84a275..3aa7244f 100644 --- a/src/encryption/Olm.cpp +++ b/src/encryption/Olm.cpp
@@ -1245,7 +1245,7 @@ decryptEvent(const MegolmSessionIndex &index, body["unsigned"] = event.unsigned_data; mtx::events::collections::TimelineEvent te; - mtx::events::collections::from_json(body, te); + from_json(body, te); // relations are unencrypted in content... mtx::accessors::set_relations(te.data, std::move(event.content.relations));