Mercurial > libervia-backend
diff libervia/backend/plugins/plugin_xep_0060.py @ 4294:a0ed5c976bf8
component conferences, plugin XEP-0167, XEP-0298: add stream user metadata:
A/V conference now adds user metadata about the stream it is forwarding through XEP-0298.
This is parsed and added to metadata during confirmation on client side.
rel 448
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 06 Aug 2024 23:43:11 +0200 |
parents | 3a550e9a2b55 |
children |
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0060.py Mon Jul 29 03:49:26 2024 +0200 +++ b/libervia/backend/plugins/plugin_xep_0060.py Tue Aug 06 23:43:11 2024 +0200 @@ -1539,7 +1539,7 @@ try: return { jid.JID(s["jid"]): s["subscription"] - for s in subscriptions_elt.elements((pubsub.NS_PUBSUB, "subscription")) + for s in subscriptions_elt.elements(pubsub.NS_PUBSUB, "subscription") } except KeyError: raise ValueError(