mcabber/mcabber/roster.c
changeset 2312 def5f64c253d
parent 2293 038b864b44c6
child 2324 4ddd6f5c3ffc
equal deleted inserted replaced
2311:962c98e4864d 2312:def5f64c253d
   436   if (onserver == 1)
   436   if (onserver == 1)
   437     roster_usr->on_server = TRUE;
   437     roster_usr->on_server = TRUE;
   438   // #4 Insert node (sorted)
   438   // #4 Insert node (sorted)
   439   my_group->list = g_slist_insert_sorted(my_group->list, roster_usr,
   439   my_group->list = g_slist_insert_sorted(my_group->list, roster_usr,
   440                                          (GCompareFunc)&roster_compare_name);
   440                                          (GCompareFunc)&roster_compare_name);
       
   441   buddylist_defer_build();
   441   return roster_find(jid, jidsearch, type);
   442   return roster_find(jid, jidsearch, type);
   442 }
   443 }
   443 
   444 
   444 // Removes user (jid) from roster, frees allocated memory
   445 // Removes user (jid) from roster, frees allocated memory
   445 void roster_del_user(const char *jid)
   446 void roster_del_user(const char *jid)