bits left over from master merge

This commit is contained in:
Floris Bruynooghe
2023-02-13 15:45:38 +01:00
parent 4c78553d90
commit 852adbe514
3 changed files with 4 additions and 1 deletions

View File

@@ -219,6 +219,7 @@ impl BackupProvider {
},
}
};
// TODO: delete the database?
context.emit_event(SendProgress::Completed.into());
context.free_ongoing().await;
res
@@ -605,7 +606,7 @@ mod tests {
// Check that we have the self message.
let self_chat = ctx1.get_self_chat().await;
let msgs = get_chat_msgs(&ctx1, self_chat.id, 0).await.unwrap();
let msgs = get_chat_msgs(&ctx1, self_chat.id).await.unwrap();
assert_eq!(msgs.len(), 1);
let msgid = match msgs.get(0).unwrap() {
ChatItem::Message { msg_id } => msg_id,