changeset 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 75f8d206e551
children a0c08fcfe11e
files sat/plugins/plugin_xep_0060.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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,