mcabber/mcabber/xmpp.c
changeset 2027 107d39cd968b
parent 2023 26edaf6ea10b
child 2032 f740c4128f76
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