hotfix for iter_dialogs() by holnburger · Pull Request #750 · pyrogram/pyrogram · GitHub
Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

hotfix for iter_dialogs() - #750

Closed
holnburger wants to merge 9 commits into
pyrogram:masterfrom
holnburger:master
Closed

holnburger wants to merge 9 commits into
pyrogram:masterfrom
holnburger:master

Conversation

@holnburger

Copy link
Copy Markdown

Telegram now always seems to return at least one dialog with the offset_date set to the oldest dialog. A hotfix was implemented to prevent endless loops.

Telegram API always seems to return an array of one for last offset date, hotfix to get out of the loop if only one item being returned.
@jonatan1609

jonatan1609 commented Sep 4, 2021

Copy link
Copy Markdown
Contributor

@User087

User087 commented Sep 13, 2021

Copy link
Copy Markdown

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants