Update offset by the amount of messages retrieved
This commit is contained in:
parent
31148c3a56
commit
2db8256276
@ -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 New Issue
Block a user