changeset 4006:9456852d3286

plugin XEP-0060: fix namespace on node subscriptions request
author Goffi <goffi@goffi.org>
date Thu, 16 Mar 2023 12:29:34 +0100 (21 months ago)
parents 54a6b44f173b
children 1d5a81e3c9e8
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	Thu Mar 16 12:28:52 2023 +0100
+++ b/sat/plugins/plugin_xep_0060.py	Thu Mar 16 12:29:34 2023 +0100
@@ -1456,7 +1456,7 @@
         iq_elt = await request.send(client.xmlstream)
         try:
             subscriptions_elt = next(
-                iq_elt.pubsub.elements(pubsub.NS_PUBSUB, "subscriptions")
+                iq_elt.pubsub.elements(pubsub.NS_PUBSUB_OWNER, "subscriptions")
             )
         except StopIteration:
             raise ValueError(