mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Update offset by the amount of messages retrieved
This commit is contained in:
parent
31148c3a56
commit
2db8256276
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ class SearchMessages(Scaffold):
|
|||
if not messages:
|
||||
return
|
||||
|
||||
offset += 100
|
||||
offset += len(messages)
|
||||
|
||||
for message in messages:
|
||||
yield message
|
||||
|
|
|
|||
Loading…
Reference in a new issue