plugin XEP-0060: fix namespace on node subscriptions request

This commit is contained in:
Goffi 2023-03-16 12:29:34 +01:00
commit 619fcca7da

View file

@ -1456,7 +1456,7 @@ class XEP_0060(object):
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(