Closed deemp closed 6 days ago
Currently, the bot may not be able to reply in the group topic where it received a command.
This inability is because we use message.chat.id to get the message source.
message.chat.id
https://github.com/team-work-tools/team-work-telegram-bot/blob/0cb8bbf26aa1ba0351481a83d4815c501f6ee01b/bot/filters.py#L26
https://github.com/team-work-tools/team-work-telegram-bot/blob/0cb8bbf26aa1ba0351481a83d4815c501f6ee01b/bot/state.py#L21
Test
/start
/join
/set_meetings_time <current time + one minute>
Superseded by https://github.com/team-work-tools/team-work-telegram-bot/pull/65
Details
Problem
Currently, the bot may not be able to reply in the group topic where it received a command.
This inability is because we use
message.chat.id
to get the message source.https://github.com/team-work-tools/team-work-telegram-bot/blob/0cb8bbf26aa1ba0351481a83d4815c501f6ee01b/bot/filters.py#L26
https://github.com/team-work-tools/team-work-telegram-bot/blob/0cb8bbf26aa1ba0351481a83d4815c501f6ee01b/bot/state.py#L21
Acceptance test
Test
topic/start
/join
/set_meetings_time <current time + one minute>
Test
topicSubtasks