mcabber/src/jabglue.c
changeset 538 6310b928d04a
parent 537 6547fd48fb5e
child 539 ffdfddd351b8
equal deleted inserted replaced
537:6547fd48fb5e 538:6310b928d04a
  1346         if (!strcmp(type, "subscribe")) {
  1346         if (!strcmp(type, "subscribe")) {
  1347           int isagent;
  1347           int isagent;
  1348           r = jidtodisp(from);
  1348           r = jidtodisp(from);
  1349           isagent = (roster_gettype(r) & ROSTER_TYPE_AGENT) != 0;
  1349           isagent = (roster_gettype(r) & ROSTER_TYPE_AGENT) != 0;
  1350           g_free(r);
  1350           g_free(r);
  1351           scr_LogPrint(LPRINT_LOGNORM, "isagent=%d", isagent); // XXX DBG
  1351           //scr_LogPrint(LPRINT_LOGNORM, "isagent=%d", isagent); // XXX DBG
  1352           if (!isagent) {
  1352           if (!isagent) {
  1353             scr_LogPrint(LPRINT_LOGNORM, "<%s> wants to subscribe "
  1353             scr_LogPrint(LPRINT_LOGNORM, "<%s> wants to subscribe "
  1354                          "to your network presence updates", from);
  1354                          "to your network presence updates", from);
  1355             // FIXME we accept everybody...
  1355             // FIXME we accept everybody...
  1356             x = jutil_presnew(JPACKET__SUBSCRIBED, from, 0);
  1356             x = jutil_presnew(JPACKET__SUBSCRIBED, from, 0);