diff options
author | Tobias Fella <fella@posteo.de> | 2021-11-15 21:35:11 +0100 |
---|---|---|
committer | Tobias Fella <fella@posteo.de> | 2021-12-01 21:56:59 +0100 |
commit | cab1c772abaf380f30a504231fc06b070feb09ec (patch) | |
tree | 2bc64ed821d986513c66cada1c420dea3b61e72e /lib/connection.h | |
parent | 34db4fd1294e41765a5db58ee1a0c59712af62c6 (diff) | |
download | libquotient-cab1c772abaf380f30a504231fc06b070feb09ec.tar.gz libquotient-cab1c772abaf380f30a504231fc06b070feb09ec.zip |
Save olm account on shutdown
Diffstat (limited to 'lib/connection.h')
-rw-r--r-- | lib/connection.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/connection.h b/lib/connection.h index d0945aa4..f5f06471 100644 --- a/lib/connection.h +++ b/lib/connection.h @@ -480,6 +480,9 @@ public: setUserFactory(defaultUserFactory<T>()); } + /// Saves the olm account data to disk. Usually doesn't need to be called manually. + void saveOlmAccount(); + public Q_SLOTS: /// \brief Set the homeserver base URL and retrieve its login flows /// |