diff options
author | mathieui <mathieui@mathieui.net> | 2021-03-07 19:48:07 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-03-07 20:43:44 +0100 |
commit | 5a3ab2c5c13aea6761680a9ccc6cf53c133c9ac7 (patch) | |
tree | 2cf7221f8657883b01fe7b681f3bf5f13f7d8f29 /slixmpp | |
parent | 27cf97458b6876b462ac08c24ff0f69107004136 (diff) | |
download | slixmpp-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.py | 2 |
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: |