aboutsummaryrefslogtreecommitdiff
path: root/lib/e2ee/qolminboundsession.h
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2022-04-09 02:04:39 +0200
committerTobias Fella <fella@posteo.de>2022-04-09 15:52:11 +0200
commit2af8d83526ed7a24c18b185e1d64d97632e10f1e (patch)
tree5a5e80ea74d0926685d20c32fdf74c6223290890 /lib/e2ee/qolminboundsession.h
parentb0a43c3534865b9fcc1af90ee2c821ac11b2a204 (diff)
downloadlibquotient-2af8d83526ed7a24c18b185e1d64d97632e10f1e.tar.gz
libquotient-2af8d83526ed7a24c18b185e1d64d97632e10f1e.zip
Prepare for MSC 3700
Diffstat (limited to 'lib/e2ee/qolminboundsession.h')
-rw-r--r--lib/e2ee/qolminboundsession.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/e2ee/qolminboundsession.h b/lib/e2ee/qolminboundsession.h
index 437f753d..32112b97 100644
--- a/lib/e2ee/qolminboundsession.h
+++ b/lib/e2ee/qolminboundsession.h
@@ -41,9 +41,20 @@ public:
QByteArray sessionId() const;
bool isVerified() const;
+ //! The olm session that this session was received from.
+ //! Required to get the device this session is from.
+ QString olmSessionId() const;
+ void setOlmSessionId(const QString& setOlmSessionId);
+
+ //! The sender of this session.
+ QString senderId() const;
+ void setSenderId(const QString& senderId);
+
QOlmInboundGroupSession(OlmInboundGroupSession* session);
private:
OlmInboundGroupSession* m_groupSession;
+ QString m_olmSessionId;
+ QString m_senderId;
};
using QOlmInboundGroupSessionPtr = std::unique_ptr<QOlmInboundGroupSession>;