Update offset by the amount of messages retrieved

This commit is contained in:
Dan 2021-03-14 12:30:57 +01:00
parent 31148c3a56
commit 2db8256276

View File

@ -181,7 +181,7 @@ class SearchMessages(Scaffold):
if not messages:
return
offset += 100
offset += len(messages)
for message in messages:
yield message