Skip to content

Minor helpers tweaks#20

Merged
poVoq merged 2 commits into
matterbridge-org:masterfrom
selfhoster1312:helpers
Nov 25, 2025
Merged

Minor helpers tweaks#20
poVoq merged 2 commits into
matterbridge-org:masterfrom
selfhoster1312:helpers

Conversation

@selfhoster1312

Copy link
Copy Markdown
Collaborator
  • Introduce new helper method on Message class: GetFileInfos which produces a slice of typed FileInfos so bridges don't have to do the casting and error handling themselves
  • Make sure in helper.DownloadFile that the HTTP status code returned is 200 otherwise an error is produced

@poVoq

poVoq commented Nov 22, 2025

Copy link
Copy Markdown
Collaborator

LGTM

@poVoq poVoq merged commit 27dbd2c into matterbridge-org:master Nov 25, 2025
6 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.

2 participants