From a9eef2c6b2f73ebc921b07fe37009bccf31038c8 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sun, 18 Aug 2019 19:26:37 +0900 Subject: Room::decryptMessage: now with the header file changes --- lib/room.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'lib/room.h') diff --git a/lib/room.h b/lib/room.h index 2139f28b..9113654b 100644 --- a/lib/room.h +++ b/lib/room.h @@ -191,14 +191,13 @@ public: memberCount() const; int timelineSize() const; bool usesEncryption() const; - const RoomEvent* decryptMessage(EncryptedEvent* encryptedEvent) const; - const QString decryptMessage(QJsonObject personalCipherObject, - QByteArray senderKey) const; - const QString sessionKey(const QString& senderKey, const QString& deviceId, - const QString& sessionId) const; - const QString decryptMessage(QByteArray cipher, const QString& senderKey, - const QString& deviceId, - const QString& sessionId) 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); int joinedCount() const; int invitedCount() const; int totalMemberCount() const; -- cgit v1.2.3