comparison src/protocols/jabber/jabber.c @ 4229:c1857c9c912d

[gaim-migrate @ 4474] Is it ironic that I use Time Warner cable to help develope an AIM client? committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 07 Jan 2003 20:57:48 +0000
parents a614423c648f
children cd84b0fd63fc
comparison
equal deleted inserted replaced
4228:1b37bf971b38 4229:c1857c9c912d
2521 * See if there's an explict (new?) alias for the buddy or we can pull 2521 * See if there's an explict (new?) alias for the buddy or we can pull
2522 * one out of current Gaim buddylist data for him. 2522 * one out of current Gaim buddylist data for him.
2523 */ 2523 */
2524 if(alias && alias[0] != '\0') { 2524 if(alias && alias[0] != '\0') {
2525 my_alias = alias; 2525 my_alias = alias;
2526 } else if((buddy = find_buddy(gc, realwho)) != NULL) { 2526 } else if((buddy = find_buddy(gc, realwho)) != NULL && buddy->alias[0]) {
2527 my_alias = buddy->alias; 2527 my_alias = buddy->alias;
2528 } 2528 }
2529 2529
2530 /* If there's an alias for the buddy, it's not 0-length 2530 /* If there's an alias for the buddy, it's not 0-length
2531 * and it doesn't match his JID, add the "name" attribute. 2531 * and it doesn't match his JID, add the "name" attribute.