summary refs log tree commit diff
path: root/src/encryption/Olm.cpp
diff options
context:
space:
mode:
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));