Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider release new version with fixed api endpoint attachments #2182

Open
UnkwUsr opened this issue Sep 5, 2024 · 1 comment
Open

Consider release new version with fixed api endpoint attachments #2182

UnkwUsr opened this issue Sep 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@UnkwUsr
Copy link

UnkwUsr commented Sep 5, 2024

Is your feature request related to a problem? Please describe.
Current latest released version (1.26.0) panics on sending attachments to api endpoint:

panic: interface conversion: interface {} is map[string]interface {}, not config.FileInfo

goroutine 12 [running]:
github.com/42wim/matterbridge/bridge/telegram.(*Btelegram).handleUploadFile(0xc000012138, 0xc000057718, 0xffffff16aa285ae1, 0x0)
...

Describe the solution you'd like
Release new version. I tested on upstream master branch version and it works (no panic, attachments forwarded).

Additional context
I saw some requests of clarification on usage api attachments endpoint due to lack of documentation, so probably current issue adds up to this problem, which was not trivial to discover. #1626 #2052

@UnkwUsr
Copy link
Author

UnkwUsr commented Sep 5, 2024

@42wim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant