aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto
diff options
context:
space:
mode:
authorTobias Fella <fella@posteo.de>2021-11-15 21:26:47 +0100
committerTobias Fella <fella@posteo.de>2021-12-01 21:56:59 +0100
commit34db4fd1294e41765a5db58ee1a0c59712af62c6 (patch)
tree27a58367029402c66a9072b1ca17ce86d00a4e92 /lib/crypto
parent82cffec29937e4449a75040485d5188f429b7b1e (diff)
downloadlibquotient-34db4fd1294e41765a5db58ee1a0c59712af62c6.tar.gz
libquotient-34db4fd1294e41765a5db58ee1a0c59712af62c6.zip
Various improvements and fixes
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/qolmsession.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/crypto/qolmsession.cpp b/lib/crypto/qolmsession.cpp
index 2068a7d9..a327a643 100644
--- a/lib/crypto/qolmsession.cpp
+++ b/lib/crypto/qolmsession.cpp
@@ -46,9 +46,7 @@ std::variant<std::unique_ptr<QOlmSession>, QOlmError> QOlmSession::createInbound
if (error == olm_error()) {
const auto lastErr = lastError(olmSession);
- if (lastErr == QOlmError::NotEnoughRandom) {
- qCCritical(E2EE) << "Error when creating inbound session" << lastErr;
- }
+ qCWarning(E2EE) << "Error when creating inbound session" << lastErr;
return lastErr;
}