You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: Update "Update(callback_query=CallbackQuery(chat_instance='<chat_instance_id>', data=<tgtg_scanner.models.item.Item object at 0xXXXXXXXXXXXX>, from_user=User(first_name='<user_first_name>', id=<IMPORTANT_CHAT_ID>, is_bot=False, language_code='de', username='<user_username>'), id='<callback_query_id>', message=Message(channel_chat_created=False, chat=Chat(first_name='<user_first_name>', id=<IMPORTANT_CHAT_ID>, type=<ChatType.PRIVATE>, username='<user_username>'), date=datetime.datetime(<year>, <month>, <day>, <hour>, <minutes>, <seconds>, tzinfo=datetime.timezone.utc), delete_chat_photo=False, from_user=User(first_name='<bot_first_name>', id=<bot_id>, is_bot=True, username='<bot_username>'), group_chat_created=False, message_id=<short_message_id>, reply_markup=InlineKeyboardMarkup(inline_keyboard=<just_all_the_buttons_of_the_previous_message>), supergroup_chat_created=False, text='Select a Bag to reserve')), update_id=<update_id>)" caused error "'NoneType' object has no attribute 'chat'"
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: