aboutsummaryrefslogtreecommitdiff
path: root/autotests/testolmaccount.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-09-21 21:09:49 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-09-26 10:46:34 +0200
commit2ff045d8b381bfbd64100d083f81b61c5fe87b23 (patch)
tree00f200e7c7547df77fd034a2bad04815c6a04495 /autotests/testolmaccount.cpp
parentbc1ded73bedf593acda80b00eb7da32f688c4843 (diff)
downloadlibquotient-2ff045d8b381bfbd64100d083f81b61c5fe87b23.tar.gz
libquotient-2ff045d8b381bfbd64100d083f81b61c5fe87b23.zip
Wrap error reporting into facility macros
Facility macros to report Olm errors: QOLM_INTERNAL_ERROR[_X], QOLM_FAIL_OR_LOG[_X]
Diffstat (limited to 'autotests/testolmaccount.cpp')
-rw-r--r--autotests/testolmaccount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/testolmaccount.cpp b/autotests/testolmaccount.cpp
index 0e1eab84..56532698 100644
--- a/autotests/testolmaccount.cpp
+++ b/autotests/testolmaccount.cpp
@@ -23,7 +23,7 @@ void TestOlmAccount::pickleUnpickledTest()
QOlmAccount olmAccount(QStringLiteral("@foo:bar.com"), QStringLiteral("QuotientTestDevice"));
olmAccount.createNewAccount();
auto identityKeys = olmAccount.identityKeys();
- auto pickled = olmAccount.pickle(Unencrypted{}).value();
+ auto pickled = olmAccount.pickle(Unencrypted{});
QOlmAccount olmAccount2(QStringLiteral("@foo:bar.com"), QStringLiteral("QuotientTestDevice"));
auto unpickleResult = olmAccount2.unpickle(std::move(pickled),
Unencrypted{});