comparison src/protocols/msn/switchboard.c @ 9620:c001be3c330e

[gaim-migrate @ 10464] Changes to those get_alias functions in blist.c from Christopher (siege) O'Brien: Renames gaim_get_buddy_alias to gaim_buddy_get_alias Renames gaim_get_buddy_alias_only to _gaim_buddy_get_alias_only Adds function gaim_buddy_get_contact_alias, which looks up a buddy's appropriate display name by order of: buddy alias; contact alias; server alias; buddy name. Note that the buddy alias is still the top-priority. Changed conversation.c to use _get_contact_alias rather than _get_alias The end result of this is that aliasing the contact will result in conversations with any of that contact's buddies using the contact alias. This allows people like myself to no longer have to alias each buddy to the same alias in order to achieve the same effect. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 31 Jul 2004 21:29:40 +0000
parents 8b2451878e26
children c28d5b45624e
comparison
equal deleted inserted replaced
9619:da88e2cd5c53 9620:c001be3c330e
178 GaimConversation *conv; 178 GaimConversation *conv;
179 GaimBuddy *b; 179 GaimBuddy *b;
180 char *str = NULL; 180 char *str = NULL;
181 181
182 if ((b = gaim_find_buddy(account, user)) != NULL) 182 if ((b = gaim_find_buddy(account, user)) != NULL)
183 username = gaim_escape_html(gaim_get_buddy_alias(b)); 183 username = gaim_escape_html(gaim_buddy_get_alias(b));
184 else 184 else
185 username = gaim_escape_html(user); 185 username = gaim_escape_html(user);
186 186
187 if (cmd->param_count == 2 && atoi(cmd->params[1]) == 1) 187 if (cmd->param_count == 2 && atoi(cmd->params[1]) == 1)
188 { 188 {