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

fix for new format #446

Merged
merged 2 commits into from Aug 21, 2020
Merged

fix for new format #446

merged 2 commits into from Aug 21, 2020

Conversation

@elandorr
Copy link
Contributor

@elandorr elandorr commented Jul 27, 2020

This fixes the AttributeError: 'PeerUser' object has no attribute 'channel_id'. Telegram must've changed the format.
Maybe we should also have a method to show nearby users?

elandorr and others added 2 commits Jul 27, 2020
This fixes the `AttributeError: 'PeerUser' object has no attribute 'channel_id'`.
Maybe we should also have a method to show nearby users?
Use isinstance instead of type
@delivrance delivrance merged commit ce0ddcd into pyrogram:develop Aug 21, 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.