Skip to content

Commit

Permalink
refactor: remove message editing after photo file download in task pr…
Browse files Browse the repository at this point in the history
…ocessing
  • Loading branch information
krau committed Jan 20, 2025
1 parent 741ceb8 commit 2f60af8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ func processPendingTask(task *types.Task) error {
defer cleanCacheFile(destPath)

logger.L.Infof("Downloaded file: %s", destPath)
ctx.EditMessage(task.ChatID, &tg.MessagesEditMessageRequest{
Message: fmt.Sprintf("下载完成: %s\n正在转存文件...", task.FileName()),
ID: task.ReplyMessageID,
})

return saveFileWithRetry(task, destPath)
}
Expand Down

0 comments on commit 2f60af8

Please sign in to comment.