mirror of
https://github.com/xCyanGrizzly/DragonsStash.git
synced 2026-09-21 05:21:43 +00:00
continuous-integration/drone/push Build is passing
tryForwardArchiveSet only attempted the no-download forward path for ZIP/RAR/7z archives, and bailed to download+reupload whenever the ranged listing failed — even though the channel already grants forwarding permission and forwarding a message costs nothing regardless of what's inside it. Standalone DOCUMENT/STL/3MF attachments never got a chance at the forward path at all. Now any file on a forwarding-enabled channel is forwarded directly; when there's no listing to derive a content hash from (non-archive types, or ranged-listing failures), dedup falls back to remote.unique_id identity — deriveForwardContentHash, crcFingerprint, and compareFingerprints already degrade to this safely for empty/incomplete entries, so there's no risk of unrelated files colliding as false duplicates. Inner-file indexing is simply skipped for these cases, matching the existing accepted limitation for RAR/7z rebuild placeholders.