summaryrefslogtreecommitdiff
path: root/slixmpp
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-03-07 19:48:07 +0100
committermathieui <mathieui@mathieui.net>2021-03-07 20:43:44 +0100
commit5a3ab2c5c13aea6761680a9ccc6cf53c133c9ac7 (patch)
tree2cf7221f8657883b01fe7b681f3bf5f13f7d8f29 /slixmpp
parent27cf97458b6876b462ac08c24ff0f69107004136 (diff)
downloadslixmpp-5a3ab2c5c13aea6761680a9ccc6cf53c133c9ac7.tar.gz
slixmpp-5a3ab2c5c13aea6761680a9ccc6cf53c133c9ac7.tar.bz2
slixmpp-5a3ab2c5c13aea6761680a9ccc6cf53c133c9ac7.tar.xz
slixmpp-5a3ab2c5c13aea6761680a9ccc6cf53c133c9ac7.zip
tests: enable and fix RSM test for XEP-0030
Diffstat (limited to 'slixmpp')
-rw-r--r--slixmpp/plugins/xep_0059/rsm.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/slixmpp/plugins/xep_0059/rsm.py b/slixmpp/plugins/xep_0059/rsm.py
index 00615ee4..61752af4 100644
--- a/slixmpp/plugins/xep_0059/rsm.py
+++ b/slixmpp/plugins/xep_0059/rsm.py
@@ -123,6 +123,8 @@ class ResultIterator(AsyncIterator):
self.query[self.interface]['rsm']['before'] = self.start
else:
self.query[self.interface]['rsm']['after'] = self.start
+ elif self.reverse:
+ self.query[self.interface]['rsm']['before'] = True
try:
if self.pre_cb: