diff options
author | fiaxh <git@lightrise.org> | 2022-02-10 15:41:24 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2022-02-10 15:43:34 +0100 |
commit | dbc6d87cb9c26a5858ccf7400a43cdd4f6f26971 (patch) | |
tree | 9f5433e0ba209d4f37e543f396ca719ad29c26c5 /xmpp-vala/src/module/xep/0166_jingle | |
parent | 28248607f03bfd3e5fc6b29e0528edfd4f04a601 (diff) | |
download | dino-dbc6d87cb9c26a5858ccf7400a43cdd4f6f26971.tar.gz dino-dbc6d87cb9c26a5858ccf7400a43cdd4f6f26971.zip |
Various call fixes
- Don't create incoming CIM calls twice
- Fix is_color check for video devices w/ multiple formats
- Tolerate mismatching content creator on jingle responses
- Change MUJI namespace to urn:xmpp:jingle:muji:0
Diffstat (limited to 'xmpp-vala/src/module/xep/0166_jingle')
-rw-r--r-- | xmpp-vala/src/module/xep/0166_jingle/session.vala | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/xmpp-vala/src/module/xep/0166_jingle/session.vala b/xmpp-vala/src/module/xep/0166_jingle/session.vala index af913aab..e5084880 100644 --- a/xmpp-vala/src/module/xep/0166_jingle/session.vala +++ b/xmpp-vala/src/module/xep/0166_jingle/session.vala @@ -105,9 +105,7 @@ public class Xmpp.Xep.Jingle.Session : Object { Content content = contents_map[content_node.name]; - if (content_node.creator != content.content_creator) { - throw new IqError.BAD_REQUEST("unknown content; creator"); - } + if (content_node.creator != content.content_creator) warning("Received transport-* with unexpected content creator from %s", peer_full_jid.to_string()); switch (action) { case "transport-accept": @@ -135,9 +133,7 @@ public class Xmpp.Xep.Jingle.Session : Object { Content content = contents_map[content_node.name]; - if (content_node.creator != content.content_creator) { - throw new IqError.BAD_REQUEST("unknown content; creator"); - } + if (content_node.creator != content.content_creator) warning("Received description-info with unexpected content creator from %s", peer_full_jid.to_string()); content.on_description_info(stream, content_node.description, jingle, iq); } else if (action == "security-info") { |