comparison sat/plugins/plugin_xep_0060.py @ 3723:1cdb9d9fad6b

plugin XEP-0060: `None` must not be used for `getItems`'s `node`
author Goffi <goffi@goffi.org>
date Tue, 25 Jan 2022 17:16:37 +0100
parents 5d108ce026d7
children 33d75cd3c371
comparison
equal deleted inserted replaced
3722:75f8d206e551 3723:1cdb9d9fad6b
640 max_items = None if max_items == C.NO_LIMIT else max_items 640 max_items = None if max_items == C.NO_LIMIT else max_items
641 extra = self.parseExtra(data_format.deserialise(extra)) 641 extra = self.parseExtra(data_format.deserialise(extra))
642 d = defer.ensureDeferred(self.getItems( 642 d = defer.ensureDeferred(self.getItems(
643 client, 643 client,
644 service, 644 service,
645 node or None, 645 node,
646 max_items, 646 max_items,
647 item_ids, 647 item_ids,
648 sub_id or None, 648 sub_id or None,
649 extra.rsm_request, 649 extra.rsm_request,
650 extra.extra, 650 extra.extra,