diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-18 19:26:37 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-18 19:28:28 +0900 |
commit | a9eef2c6b2f73ebc921b07fe37009bccf31038c8 (patch) | |
tree | a482ce5e333416ed8b322a5179ed4e06a567f806 | |
parent | 618b0dfd5434fc4e99fe8a19d03b3c50c57cb76b (diff) | |
download | libquotient-a9eef2c6b2f73ebc921b07fe37009bccf31038c8.tar.gz libquotient-a9eef2c6b2f73ebc921b07fe37009bccf31038c8.zip |
Room::decryptMessage: now with the header file changes
-rw-r--r-- | lib/room.h | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -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; |