# HG changeset patch # User Richard Laager # Date 1134516324 0 # Node ID 8489040cf97bd924949a7451a2d94378b6265024 # Parent d90eae2387b57731f9b93e326fa3d17f314316f8 [gaim-migrate @ 14789] Patch to gaim-devel by Aleksander Piotrowski "Looks like if one sets alias for particular buddy then alias_buddy callback is not called. Following diff fixes that problem for me (verified with jabber and my own protocol plugins) but I'm not sure if it is correct place to call serv_alias_buddy() (as I'm not sure if this whole alias bug isn't only my local problem ;)" committer: Tailor Script diff -r d90eae2387b5 -r 8489040cf97b COPYRIGHT --- a/COPYRIGHT Tue Dec 13 19:47:38 2005 +0000 +++ b/COPYRIGHT Tue Dec 13 23:25:24 2005 +0000 @@ -179,6 +179,7 @@ Ted Percival Eduardo Pérez Joao Luís Marques Pinto +Aleksander Piotrowski Ari Pollak Robey Pointer Nathan Poznick diff -r d90eae2387b5 -r 8489040cf97b src/gtkblist.c --- a/src/gtkblist.c Tue Dec 13 19:47:38 2005 +0000 +++ b/src/gtkblist.c Tue Dec 13 23:25:24 2005 +0000 @@ -301,12 +301,17 @@ if (contact->alias || gtknode->contact_expanded) gaim_blist_alias_contact(contact, arg2); else - gaim_blist_alias_buddy(gaim_contact_get_priority_buddy(contact), arg2); + { + GaimBuddy *buddy = gaim_contact_get_priority_buddy(contact); + gaim_blist_alias_buddy(buddy, arg2); + serv_alias_buddy(buddy); + } } break; case GAIM_BLIST_BUDDY_NODE: gaim_blist_alias_buddy((GaimBuddy*)node, arg2); + serv_alias_buddy((GaimBuddy *)node); break; case GAIM_BLIST_GROUP_NODE: gaim_blist_rename_group((GaimGroup*)node, arg2);