Mercurial > libervia-backend
diff sat/plugins/plugin_xep_0060.py @ 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 |
parents | 722c25818778 |
children | 524856bd7b19 |
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(