Merge branch 'mam' into 'master'
Assign 'True' to 'before' tag if it's value is 'None'. See merge request poezio/slixmpp!26
This commit is contained in:
commit
540ff89427
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,8 @@ class ResultIterator:
|
|||
"""
|
||||
if self._stop:
|
||||
raise StopAsyncIteration
|
||||
if self.query[self.interface]['rsm']['before'] is None:
|
||||
self.query[self.interface]['rsm']['before'] = self.reverse
|
||||
self.query['id'] = self.query.stream.new_id()
|
||||
self.query[self.interface]['rsm']['max'] = str(self.amount)
|
||||
|
||||
|
|
Loading…
Reference in a new issue