aboutsummaryrefslogtreecommitdiff
path: root/lib/events/encryptedevent.h
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2022-03-08 21:44:10 +0100
committerTobias Fella <fella@posteo.de>2022-05-16 20:47:17 +0200
commitfcde81c8618fbe10c1cb91c0ec6887a3df705a23 (patch)
tree10b2bcb61335f85b94cfdcece8206e2c510928b5 /lib/events/encryptedevent.h
parentefa450920e5fc338e771e653ca0889e948d04ee7 (diff)
downloadlibquotient-fcde81c8618fbe10c1cb91c0ec6887a3df705a23.tar.gz
libquotient-fcde81c8618fbe10c1cb91c0ec6887a3df705a23.zip
Properly create encrypted edits
Diffstat (limited to 'lib/events/encryptedevent.h')
-rw-r--r--lib/events/encryptedevent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/events/encryptedevent.h b/lib/events/encryptedevent.h
index 72efffd4..ddd5e415 100644
--- a/lib/events/encryptedevent.h
+++ b/lib/events/encryptedevent.h
@@ -56,6 +56,8 @@ public:
QString deviceId() const { return contentPart<QString>(DeviceIdKeyL); }
QString sessionId() const { return contentPart<QString>(SessionIdKeyL); }
RoomEventPtr createDecrypted(const QString &decrypted) const;
+
+ void setRelation(const QJsonObject& relation);
};
REGISTER_EVENT_TYPE(EncryptedEvent)