# HG changeset patch # User Goffi # Date 1499548861 -7200 # Node ID e715a29c4f9b6e83f6f2e264a1d2da73c42c0104 # Parent ddb67c186f6112f21124a52a31490691f3ec75c6 plugin XEP-0060: remove max_items when item_ids is set on getItems diff -r ddb67c186f61 -r e715a29c4f9b src/plugins/plugin_xep_0060.py --- a/src/plugins/plugin_xep_0060.py Sat Jul 08 22:50:25 2017 +0200 +++ b/src/plugins/plugin_xep_0060.py Sat Jul 08 23:21:01 2017 +0200 @@ -335,6 +335,8 @@ - rsm_first, rsm_last, rsm_count, rsm_index: first, last, count and index value of RSMResponse - service, node: service and node used """ + if item_ids and max_items is not None: + max_items = None if rsm_request and item_ids: raise ValueError(u"items_id can't be used with rsm") if extra is None: