aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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;