Remove always zero argument to Job::new()

This commit is contained in:
link2xt
2023-02-25 02:42:14 +00:00
parent 10e8bcb73e
commit 9f804c379c
2 changed files with 4 additions and 4 deletions

View File

@@ -85,7 +85,7 @@ impl MsgId {
DownloadState::Available | DownloadState::Failure => {
self.update_download_state(context, DownloadState::InProgress)
.await?;
job::add(context, Job::new(Action::DownloadMsg, self.to_u32(), 0)).await?;
job::add(context, Job::new(Action::DownloadMsg, self.to_u32())).await?;
}
}
Ok(())