Make getting backup use the ongoing process

This commit is contained in:
Floris Bruynooghe
2023-02-14 12:19:40 +01:00
parent e1087b4145
commit ff0d675082
2 changed files with 27 additions and 8 deletions

View File

@@ -4159,7 +4159,7 @@ pub unsafe extern "C" fn dc_backup_provider_qr(
provider: *const dc_backup_provider_t,
) -> *mut libc::c_char {
let provider = &*provider;
deltachat::qr::format_backup(provider.qr())
deltachat::qr::format_backup(&provider.qr())
.unwrap_or_default()
.strdup()
}