From 92de31840ed3ec7cc8ec90fe58b1955278a8acff Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 4 Jul 2021 22:31:32 +0300 Subject: Replace Accounts.importAccount() with Context.importBackup() dc_accounts_import_account() is going to be removed from the core. --- context.h | 1 + 1 file changed, 1 insertion(+) (limited to 'context.h') diff --git a/context.h b/context.h index aba3313..1b7abc2 100644 --- a/context.h +++ b/context.h @@ -49,6 +49,7 @@ public: Q_INVOKABLE QString getMessageHtml(uint32_t msgId); Q_INVOKABLE uint32_t decideOnContactRequest(uint32_t msgId, int decision); Q_INVOKABLE DcMessage *newMessage(int viewtype); + Q_INVOKABLE void importBackup(QString tarfile); private: dc_context_t *m_context{nullptr}; -- cgit v1.2.3-70-g09d2