aboutsummaryrefslogtreecommitdiff
path: root/lib/e2ee/qolmoutboundsession.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/e2ee/qolmoutboundsession.cpp')
-rw-r--r--lib/e2ee/qolmoutboundsession.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/e2ee/qolmoutboundsession.cpp b/lib/e2ee/qolmoutboundsession.cpp
index 8494efdd..e75ab427 100644
--- a/lib/e2ee/qolmoutboundsession.cpp
+++ b/lib/e2ee/qolmoutboundsession.cpp
@@ -8,9 +8,7 @@
using namespace Quotient;
QOlmError lastError(OlmOutboundGroupSession *session) {
- const auto error_raw = olm_outbound_group_session_last_error(session);
-
- return fromString(error_raw);
+ return fromString(olm_outbound_group_session_last_error(session));
}
QOlmOutboundGroupSession::QOlmOutboundGroupSession(OlmOutboundGroupSession *session)