add DownloadMailAttachment() to the canonical OnlyOffice mail client
keep auth cookies in NewClient() so mail addon download handlers work
cover the new path with unit tests for cookie-backed auth and attachment download
Test plan
go test ./...
## Summary
- add `DownloadMailAttachment()` to the canonical OnlyOffice mail client
- keep auth cookies in `NewClient()` so mail addon download handlers work
- cover the new path with unit tests for cookie-backed auth and attachment download
## Test plan
- `go test ./...`
This gives go-onlyoffice a cookie-backed attachment download path so 2dph can reuse the canonical OnlyOffice client instead of keeping a local mail adapter.
eSlider
merged commit 65cd3f5c74 into main2026-08-19 12:08:04 +01:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
DownloadMailAttachment()to the canonical OnlyOffice mail clientNewClient()so mail addon download handlers workTest plan
go test ./...