aboutsummaryrefslogtreecommitdiff
path: root/lib/room.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-18 19:26:37 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-18 19:28:28 +0900
commita9eef2c6b2f73ebc921b07fe37009bccf31038c8 (patch)
treea482ce5e333416ed8b322a5179ed4e06a567f806 /lib/room.h
parent618b0dfd5434fc4e99fe8a19d03b3c50c57cb76b (diff)
downloadlibquotient-a9eef2c6b2f73ebc921b07fe37009bccf31038c8.tar.gz
libquotient-a9eef2c6b2f73ebc921b07fe37009bccf31038c8.zip
Room::decryptMessage: now with the header file changes
Diffstat (limited to 'lib/room.h')
-rw-r--r--lib/room.h15
1 files changed, 7 insertions, 8 deletions
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;