-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Error "'NoneType' object has no attribute 'chat'" when attempting to reserve bag through telegram bot #481
Comments
faced the same issue, anyone has a solution? |
Yes, it got broken in d04f8c9 . Checking out v1.20.3 should fix that. _is_my_chat function only checks chat.id but the fallback does not have a chat attribute, but only a user attribute which has the same id (don't know how it works for group chats tho. @Der-Henning please don't create a release of the current master with this bug. |
Also this is the full message: |
When attempting to reserve a bag through the /reserve command, the locations present as normal but the bot times out when selecting a location, checking bot shows [error "'NoneType' object has no attribute 'chat'"], the string is much longer and mentions callback_query=CallbackQuery but it contains a lot of personal information so I cannot share the whole string.
The text was updated successfully, but these errors were encountered: