-
Aryan Noshirvnai authored
get_chat_music() called search_messages(filter="audio") - a plain string - but Pyrogram's filter param is a MessagesFilter enum and internally reads filter.value, so every chat scan crashed the moment a user tapped a chat. Use MessagesFilter.AUDIO instead. Added a unit test that mocks pyrogram.Client and asserts the exact enum is passed, since the existing router tests only mocked get_chat_music() itself and never exercised this line. Co-Authored-By:
Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
98dbaf27
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| api | ||
| core | ||
| services | ||
| telegram_bot | ||
| telegram_worker |