aboutsummaryrefslogtreecommitdiff
path: root/lib/room.h
diff options
context:
space:
mode:
authorAlexey Andreyev <aa13q@ya.ru>2019-08-23 17:15:44 +0300
committerAlexey Andreev <aa13q@ya.ru>2020-02-25 18:04:24 +0300
commit6a3cd81b5179a38b5731f09b62f56b24ada7ff0f (patch)
tree669b668b8aedbea6142b4e6960eb13c6773fec21 /lib/room.h
parent715a0c0aa094eedbe24516e19a7b37dde71ba994 (diff)
downloadlibquotient-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.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/room.h b/lib/room.h
index 2243ec6b..d78a7bfc 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -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;