Skip to content
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

Add break to for loops to avoid multiple repetitive warnings on conve… #1319

Conversation

Ambro17
Copy link
Contributor

@Ambro17 Ambro17 commented Jan 3, 2019

As spoken earlier today with @Eldinnie, it seems fair to show the warnings explaining the edge cases for the conversation handlers. But if one has a complex conversation, those messages are replied too many times and don't give new information.

This PR makes those warnings appear only once and add tests for this behaviour.

@jsmnbom jsmnbom requested a review from Eldinnie January 4, 2019 00:05
@Eldinnie
Copy link
Member

Looks good to me.

@Eldinnie Eldinnie merged commit d0936f7 into python-telegram-bot:master Feb 13, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Aug 21, 2020
@Ambro17 Ambro17 deleted the show-conversation-warnings-just-once branch January 1, 2023 21:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants