mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-05 14:54: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:
|
if not messages:
|
||||||
return
|
return
|
||||||
|
|
||||||
offset += 100
|
offset += len(messages)
|
||||||
|
|
||||||
for message in messages:
|
for message in messages:
|
||||||
yield message
|
yield message
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue