[Telepathy-commits] [telepathy-gabble/master] GabbleJingleSession: fix gtalk3 detection on "candidates" jingle action
Senko Rasic
senko at phyrexia.lan
Tue Dec 2 04:34:06 PST 2008
---
src/jingle-session.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/jingle-session.c b/src/jingle-session.c
index ffb17ce..94aeb65 100644
--- a/src/jingle-session.c
+++ b/src/jingle-session.c
@@ -849,10 +849,10 @@ on_transport_info (GabbleJingleSession *sess, LmMessageNode *node,
if (priv->dialect == JINGLE_DIALECT_GTALK4)
{
- /* If we think we're in gtalk4 mode and get sent this,
- * switch to gtalk3 mode and resend our candidates */
- if (!tp_strdiff (node->name, "candidates"))
+ if (!tp_strdiff (lm_message_node_get_attribute (node, "type"),
+ "candidates"))
{
+ DEBUG ("switching to gtalk3 dialect and retransmiting our candidates");
priv->dialect = JINGLE_DIALECT_GTALK3;
gabble_jingle_content_retransmit_candidates (c);
}
--
1.5.6.5
More information about the Telepathy-commits
mailing list