From 0928bd405f4958d3a12277614d2715cfac1f7ac0 Mon Sep 17 00:00:00 2001 From: Tobias Fella <9750016+TobiasFella@users.noreply.github.com> Date: Sun, 27 Feb 2022 17:47:20 +0100 Subject: Update lib/e2ee/qolmutility.cpp Co-authored-by: Carl Schwan --- lib/e2ee/qolmutility.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/e2ee/qolmutility.cpp b/lib/e2ee/qolmutility.cpp index 5d1bc18d..9f09a37f 100644 --- a/lib/e2ee/qolmutility.cpp +++ b/lib/e2ee/qolmutility.cpp @@ -54,7 +54,7 @@ std::variant QOlmUtility::ed25519Verify(const QByteArray &key, if (error == QOlmError::BadMessageMac) { return false; } - return lastError(m_utility); + return error; } if (ret != 0) { -- cgit v1.2.3