mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-27 08:19:47 +03:00
Added parentheses to clarify operation order
This commit is contained in:
parent
b3cdaf8355
commit
3e2f7dd2f2
|
@ -221,7 +221,7 @@ class _MessagesIter(RequestIter):
|
|||
#
|
||||
# We also assume the API will always return, at least, one message if
|
||||
# there is more to fetch.
|
||||
if not r.messages or not self.reverse and r.messages[0].id <= self.request.limit:
|
||||
if not r.messages or (not self.reverse and r.messages[0].id <= self.request.limit):
|
||||
return True
|
||||
|
||||
# Get the last message that's not empty (in some rare cases
|
||||
|
|
Loading…
Reference in New Issue
Block a user