diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-08-25 20:02:35 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-08-25 20:28:12 +0200 |
commit | 4ad2f6e165a4eb486155eae652e187dc4d6b7d99 (patch) | |
tree | d6651c48a3eabeda866a6209a6b8d07773cacf33 /lib/connection.cpp | |
parent | e89986123c1bc55ceccb28c417c33ecdca602512 (diff) | |
download | libquotient-4ad2f6e165a4eb486155eae652e187dc4d6b7d99.tar.gz libquotient-4ad2f6e165a4eb486155eae652e187dc4d6b7d99.zip |
Cleanup
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r-- | lib/connection.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp index 9e4444df..98720f3b 100644 --- a/lib/connection.cpp +++ b/lib/connection.cpp @@ -6,11 +6,12 @@ #include "connection.h" +#include "accountregistry.h" #include "connectiondata.h" +#include "qt_connection_util.h" #include "room.h" #include "settings.h" #include "user.h" -#include "accountregistry.h" // NB: since Qt 6, moc_connection.cpp needs Room and User fully defined #include "moc_connection.cpp" @@ -20,10 +21,8 @@ #include "csapi/joining.h" #include "csapi/leaving.h" #include "csapi/logout.h" -#include "csapi/receipts.h" #include "csapi/room_send.h" #include "csapi/to_device.h" -#include "csapi/versions.h" #include "csapi/voip.h" #include "csapi/wellknown.h" #include "csapi/whoami.h" @@ -2184,8 +2183,8 @@ PicklingMode Connection::picklingMode() const void Connection::saveOlmAccount() { - qCDebug(E2EE) << "Saving olm account"; #ifdef Quotient_E2EE_ENABLED + qCDebug(E2EE) << "Saving olm account"; if (const auto expectedPickle = d->olmAccount->pickle(d->picklingMode)) d->database->setAccountPickle(*expectedPickle); else |