umputun / feed-master

Pulls multiple podcast feeds (RSS) and republishes as a common feed, properly sorted and podcast-client friendly.
https://feed-master.umputun.dev
MIT License
116 stars 26 forks source link

Fix large file upload fallback #85

Closed paskal closed 2 years ago

paskal commented 2 years ago

Fallback is supposed to kick in the situation where the uploaded file is too big for Telegram and send a text message instead of audio in that case. It stopped working likely after library update and resulting error message change: this commit makes sure that the error is parsed correctly in the new conditions.

The fallback mechanism was originally added in #23.

The error message was supposedly changed in the library v2.1 which was brought to the project on March 23 in e519a330f30ac4842a66dee829032b74021f1c12.