aboutsummaryrefslogtreecommitdiff
path: root/lib/e2ee/qolminboundsession.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/e2ee/qolminboundsession.h')
-rw-r--r--lib/e2ee/qolminboundsession.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/e2ee/qolminboundsession.h b/lib/e2ee/qolminboundsession.h
index 1a9b4415..e8da6355 100644
--- a/lib/e2ee/qolminboundsession.h
+++ b/lib/e2ee/qolminboundsession.h
@@ -6,7 +6,7 @@
#include "e2ee/e2ee.h"
-#include <olm/olm.h>
+struct OlmInboundGroupSession;
namespace Quotient {
@@ -46,6 +46,9 @@ public:
QString senderId() const;
void setSenderId(const QString& senderId);
+ OlmErrorCode lastErrorCode() const;
+ const char* lastError() const;
+
QOlmInboundGroupSession(OlmInboundGroupSession* session);
private:
OlmInboundGroupSession* m_groupSession;