Make code compile with hidden friends

This commit is contained in:
Nicolas Werner 2022-07-29 04:04:44 +02:00
parent b594242358
commit 3c480d47f1
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
2 changed files with 8 additions and 8 deletions

View file

@ -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));