# HG changeset patch # User Nathan Walp # Date 1068151249 0 # Node ID 126fceb88bec913dd0eddd149ad86c38977deb41 # Parent f3f47de6d8a760c349b5928095496f98c85b716c [gaim-migrate @ 8060] jabber roster tweaks committer: Tailor Script diff -r f3f47de6d8a7 -r 126fceb88bec src/protocols/jabber/roster.c --- a/src/protocols/jabber/roster.c Thu Nov 06 17:45:07 2003 +0000 +++ b/src/protocols/jabber/roster.c Thu Nov 06 20:40:49 2003 +0000 @@ -264,7 +264,7 @@ groups = g_slist_append(groups, grp->name); } - jabber_roster_update(js, who, NULL); + jabber_roster_update(js, who, groups); if(!jb || !(jb->subscription & JABBER_SUB_TO)) jabber_presence_subscription_set(js, who, "subscribe"); @@ -274,6 +274,10 @@ void jabber_roster_alias_change(GaimConnection *gc, const char *name, const char *alias) { + GaimBuddy *b = gaim_find_buddy(gc->account, name); + + gaim_blist_alias_buddy(b, alias); + jabber_roster_update(gc->proto_data, name, NULL); }