comparison mcabber/mcabber/xmpp.c @ 2027:107d39cd968b

Update a comment
author Mikael Berthe <mikael@lilotux.net>
date Sat, 25 Aug 2012 15:42:34 +0200
parents 26edaf6ea10b
children f740c4128f76
comparison
equal deleted inserted replaced
2026:564d99cdf0d1 2027:107d39cd968b
1315 if (x && !strcmp(x->name, "x")) { 1315 if (x && !strcmp(x->name, "x")) {
1316 const char *jid = lm_message_node_get_attribute(x, "jid"); 1316 const char *jid = lm_message_node_get_attribute(x, "jid");
1317 if (jid) { 1317 if (jid) {
1318 const char *reason = lm_message_node_get_attribute(x, "reason"); 1318 const char *reason = lm_message_node_get_attribute(x, "reason");
1319 const char *password = lm_message_node_get_attribute(x, "password"); 1319 const char *password = lm_message_node_get_attribute(x, "password");
1320 // FIXME we shouldn't send decline stanzas in this case 1320 // We won't send decline stanzas as it is a Direct Invitation
1321 got_invite(from, jid, reason, password, FALSE); 1321 got_invite(from, jid, reason, password, FALSE);
1322 } 1322 }
1323 } 1323 }
1324 } 1324 }
1325 1325