libgaim/protocols/jabber/roster.c

changeset 15321
5ca8c8b913b1
parent 15265
a5b0ab58b05d
child 20470
77693555855f
child 20472
6a6d2ef151e6
equal deleted inserted replaced
15320:c4eea0409712 15321:5ca8c8b913b1
329 329
330 void jabber_roster_alias_change(GaimConnection *gc, const char *name, const char *alias) 330 void jabber_roster_alias_change(GaimConnection *gc, const char *name, const char *alias)
331 { 331 {
332 GaimBuddy *b = gaim_find_buddy(gc->account, name); 332 GaimBuddy *b = gaim_find_buddy(gc->account, name);
333 333
334 gaim_blist_alias_buddy(b, alias); 334 if(b != NULL) {
335 335 gaim_blist_alias_buddy(b, alias);
336 jabber_roster_update(gc->proto_data, name, NULL); 336
337 jabber_roster_update(gc->proto_data, name, NULL);
338 }
337 } 339 }
338 340
339 void jabber_roster_group_change(GaimConnection *gc, const char *name, 341 void jabber_roster_group_change(GaimConnection *gc, const char *name,
340 const char *old_group, const char *new_group) 342 const char *old_group, const char *new_group)
341 { 343 {

mercurial