comparison src/protocols/jabber/jabber.c @ 3708:da6e3c984985

[gaim-migrate @ 3841] host mask on join thanks to birme (required change to the function) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 15 Oct 2002 22:27:57 +0000
parents 11ab2a5f6677
children 988485669631
comparison
equal deleted inserted replaced
3707:c1254110070a 3708:da6e3c984985
1406 } 1406 }
1407 } 1407 }
1408 if (p->from->resource) { 1408 if (p->from->resource) {
1409 if (!y) { 1409 if (!y) {
1410 if (!find_chat_buddy(jc->b, p->from->resource)) { 1410 if (!find_chat_buddy(jc->b, p->from->resource)) {
1411 add_chat_buddy(jc->b, p->from->resource); 1411 add_chat_buddy(jc->b, p->from->resource, NULL);
1412 } else if ((y = xmlnode_get_tag(p->x, "status"))) { 1412 } else if ((y = xmlnode_get_tag(p->x, "status"))) {
1413 jabber_track_away(gjc, p, NULL); 1413 jabber_track_away(gjc, p, NULL);
1414 } 1414 }
1415 } else if (jc->b && msg) { 1415 } else if (jc->b && msg) {
1416 char buf[8192]; 1416 char buf[8192];
1567 g_free(buddy); 1567 g_free(buddy);
1568 gaim_jid_free(gjid); 1568 gaim_jid_free(gjid);
1569 return; 1569 return;
1570 } 1570 }
1571 if (!find_chat_buddy(jc->b, gjid->resource)) { 1571 if (!find_chat_buddy(jc->b, gjid->resource)) {
1572 add_chat_buddy(jc->b, gjid->resource); 1572 add_chat_buddy(jc->b, gjid->resource, NULL);
1573 } 1573 }
1574 } 1574 }
1575 } 1575 }
1576 } 1576 }
1577 1577