diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-09-22 14:01:01 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-09-26 10:46:34 +0200 |
commit | d5c1afc536dde87f460ccadfcfd51444b5e9bb82 (patch) | |
tree | 30a85c918c8c37b3ae0904a935f2fc705fe86ed5 /lib/connection.cpp | |
parent | 2ff045d8b381bfbd64100d083f81b61c5fe87b23 (diff) | |
download | libquotient-d5c1afc536dde87f460ccadfcfd51444b5e9bb82.tar.gz libquotient-d5c1afc536dde87f460ccadfcfd51444b5e9bb82.zip |
Trample Sonar warnings
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r-- | lib/connection.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp index 0afbffbc..51c2062f 100644 --- a/lib/connection.cpp +++ b/lib/connection.cpp @@ -648,7 +648,9 @@ void Connection::Private::completeSetup(const QString& mxId) }); } else { // account already existing - olmAccount->unpickle(database->accountPickle(), picklingMode); + if (!olmAccount->unpickle(database->accountPickle(), picklingMode)) + qWarning(E2EE) + << "Could not unpickle Olm account, E2EE won't be available"; } #endif // Quotient_E2EE_ENABLED emit q->stateChanged(); |