Skip to content

Fix #695 by checking if a user exists - #699

Merged
tsnoam merged 1 commit into
python-telegram-bot:masterfrom
pingiun:fix-695
Jul 23, 2017
Merged

Fix #695 by checking if a user exists#699
tsnoam merged 1 commit into
python-telegram-bot:masterfrom
pingiun:fix-695

Conversation

@pingiun

@pingiun pingiun commented Jun 30, 2017

Copy link
Copy Markdown
Contributor

Check if a user exists for the update because it can't be used
otherwise in a conversationhandler.

Added a test to detect #695

Fixes #695

This PR doesn't fix #637 even though it was requested in 695 because making from_user optional would make it a keyword argument, which would break compatibility.

Check if a user exists for the update because it can't be used
otherwise in a conversationhandler.

Added a test to detect python-telegram-bot#695
@Eldinnie

Copy link
Copy Markdown
Member

Seems good to me. Let's merge

@Eldinnie
Eldinnie self-requested a review July 23, 2017 09:09
@Eldinnie Eldinnie added the 📋 pending-merge work status: pending-merge label Jul 23, 2017
@tsnoam
tsnoam merged commit 8320227 into python-telegram-bot:master Jul 23, 2017
@tsnoam

tsnoam commented Jul 23, 2017

Copy link
Copy Markdown
Member

@pingiun Thankyou for your contribution.

@github-actions github-actions Bot locked and limited conversation to collaborators Aug 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

📋 pending-merge work status: pending-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bot tries to assign user id to anonymous channel post Message.from is not mandatory due to channels

3 participants