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

Send a warning instead throwing an exeption when message type is not … #422

Merged
merged 3 commits into from Aug 30, 2020

Conversation

@fgallaire
Copy link
Contributor

@fgallaire fgallaire commented Jun 15, 2020

…compatible with as_copy
As messages copies are often done in batches, send a warning and continue the work is a far better behavior (so much user friendly).

@fgallaire
Copy link
Contributor Author

@fgallaire fgallaire commented Jun 23, 2020

@delivrance do you prefer a no_fail boolean for retro-compatibility reason ?

@delivrance
Copy link
Member

@delivrance delivrance commented Jul 8, 2020

I tried to forward three messages, two texts and one service in the middle; the server successfully forwards the two texts. I approve this.

@delivrance
Copy link
Member

@delivrance delivrance commented Jul 8, 2020

@delivrance do you prefer a no_fail boolean for retro-compatibility reason ?

I'd rather keep the code simpler and mention in the release note about this possible breaking change. Thanks

fgallaire and others added 2 commits Jul 9, 2020
@delivrance delivrance changed the base branch from develop to master Aug 30, 2020
@delivrance delivrance merged commit fcc7809 into pyrogram:master Aug 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.