plugin XEP-0272: update to v0.2.0 + fixes:

- use the proper `urn:xmpp:jingle:muji:0` namespace
- replace XEP-0249 invitations with XEP-0482
- the dedicated `META_TYPE_GROUP_CALL` subtype is now used for the confirm action (instead
  of `META_TYPE_MUC_INVITATION`)
- handle MUJI invitation: on accept, join the room, start preparing and answer with the
  connection method element
- add the `<muji>` element to outgoing Jingle IQs
- propagate the call type (audio/video) in the MUJI invites (the `type` attribute), so the
  invited clients set up the proper local stream
- the joining participant initiates the sessions with the other participants, using their
  real JIDs, extracted from the presence (the room is set non-anonymous for that)
- only trust the `<muji>` element of a `session-initiate` from a member of the room
- add a `call_group_end` bridge method to clean the MUJI session
- typo fix in `META_TYPE_MUC_INVIRATION` (`R` instead of `T`)
This commit is contained in:
Goffi 2026-09-24 12:05:33 +02:00
commit 0c6f852ce9

View file

@ -198,7 +198,7 @@ class XEP_0249:
else: # leave the default value here
action_extra = {
"type": C.META_TYPE_CONFIRM,
"subtype": C.META_TYPE_MUC_INVIRATION,
"subtype": C.META_TYPE_MUC_INVITATION,
"from_jid": from_jid_s,
"room_jid": room_jid_s,
}