summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <madhurgarg96@gmail.com>2019-08-23 00:15:34 +0530
committerroot <madhurgarg96@gmail.com>2019-08-23 00:15:56 +0530
commitd7729e86830943bb20796d17a3e48431cf7a26bd (patch)
treec889b0fd26f49c5954a5432127880a153b38d517
parentd618f55dea4d3b421373ec24782ebfdbd75ef223 (diff)
downloadslixmpp-d7729e86830943bb20796d17a3e48431cf7a26bd.tar.gz
slixmpp-d7729e86830943bb20796d17a3e48431cf7a26bd.tar.bz2
slixmpp-d7729e86830943bb20796d17a3e48431cf7a26bd.tar.xz
slixmpp-d7729e86830943bb20796d17a3e48431cf7a26bd.zip
Removed assigning 'reverse' value to the 'before' tag (It's value is set in xep_0313 (mam.py file) and if not then by default it is takes as 'None').
-rw-r--r--slixmpp/plugins/xep_0059/rsm.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0059/rsm.py b/slixmpp/plugins/xep_0059/rsm.py
index 0729c966..00241cbb 100644
--- a/slixmpp/plugins/xep_0059/rsm.py
+++ b/slixmpp/plugins/xep_0059/rsm.py
@@ -79,7 +79,6 @@ class ResultIterator:
"""
if self._stop:
raise StopAsyncIteration
- 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)