diff 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
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0060.py	Tue Jan 25 17:15:00 2022 +0100
+++ b/sat/plugins/plugin_xep_0060.py	Tue Jan 25 17:16:37 2022 +0100
@@ -642,7 +642,7 @@
         d = defer.ensureDeferred(self.getItems(
             client,
             service,
-            node or None,
+            node,
             max_items,
             item_ids,
             sub_id or None,