Skip to content

fix(share): download on folder share wrongly not counted (#2640)#3196

Merged
HFO4 merged 1 commit intocloudreve:masterfrom
YUDONGLING:fix-folder-download-count-20260116.1
Jan 23, 2026
Merged

fix(share): download on folder share wrongly not counted (#2640)#3196
HFO4 merged 1 commit intocloudreve:masterfrom
YUDONGLING:fix-folder-download-count-20260116.1

Conversation

@YUDONGLING
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings January 15, 2026 18:31
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug where downloads from folder shares were not being counted in the share download statistics. Previously, only single-file share downloads were tracked.

Changes:

  • Removed conditional check in ExecuteHook that limited download counting to single-file shares only
  • Downloads from both single-file and folder shares are now properly tracked

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@YUDONGLING
Copy link
Copy Markdown
Member Author

Seems something goes wrong with Azure Pipelines & check is always pending?

@HFO4 HFO4 merged commit 2725bd4 into cloudreve:master Jan 23, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants