Mercurial > pidgin
changeset 7449:126fceb88bec
[gaim-migrate @ 8060]
jabber roster tweaks
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 06 Nov 2003 20:40:49 +0000 |
parents | f3f47de6d8a7 |
children | 685736e14aac |
files | src/protocols/jabber/roster.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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); }