diff options
author | Alexey Andreyev <aa13q@ya.ru> | 2019-08-23 17:15:44 +0300 |
---|---|---|
committer | Alexey Andreev <aa13q@ya.ru> | 2020-02-25 18:04:24 +0300 |
commit | 6a3cd81b5179a38b5731f09b62f56b24ada7ff0f (patch) | |
tree | 669b668b8aedbea6142b4e6960eb13c6773fec21 /lib/room.h | |
parent | 715a0c0aa094eedbe24516e19a7b37dde71ba994 (diff) | |
download | libquotient-6a3cd81b5179a38b5731f09b62f56b24ada7ff0f.tar.gz libquotient-6a3cd81b5179a38b5731f09b62f56b24ada7ff0f.zip |
E2EE: implement megolm inbound session decrypt for room
Signed-off-by: Alexey Andreev <aa13q@ya.ru>
Diffstat (limited to 'lib/room.h')
-rw-r--r-- | lib/room.h | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -209,13 +209,7 @@ public: int memberCount() const; int timelineSize() const; bool usesEncryption() const; - RoomEventPtr decryptMessage(EncryptedEvent* encryptedEvent); - QString decryptMessage(QJsonObject personalCipherObject, - QByteArray senderKey); - QString sessionKey(const QString& senderKey, const QString& deviceId, - const QString& sessionId) const; - QString decryptMessage(QByteArray cipher, const QString& senderKey, - const QString& deviceId, const QString& sessionId); + RoomEventPtr decryptMessage(const EncryptedEvent& encryptedEvent); void handleRoomKeyEvent(RoomKeyEvent* roomKeyEvent, QString senderKey); int joinedCount() const; int invitedCount() const; |