From 5a3ab2c5c13aea6761680a9ccc6cf53c133c9ac7 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 7 Mar 2021 19:48:07 +0100 Subject: tests: enable and fix RSM test for XEP-0030 --- slixmpp/plugins/xep_0059/rsm.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'slixmpp') 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: -- cgit v1.2.3