Implemented /group command with no args (list groups)
This commit is contained in:
@@ -378,6 +378,12 @@ roster_get_contacts(void)
|
||||
return result;
|
||||
}
|
||||
|
||||
GSList *
|
||||
roster_get_groups(void)
|
||||
{
|
||||
return autocomplete_get_list(groups_ac);
|
||||
}
|
||||
|
||||
GSList *
|
||||
roster_get_group(const char * const group)
|
||||
{
|
||||
|
||||
@@ -151,5 +151,6 @@ GSList * roster_get_group(const char * const group);
|
||||
void roster_add_to_group(const char * const group, const char * const barejid);
|
||||
void roster_remove_from_group(const char * const group,
|
||||
const char * const barejid);
|
||||
GSList * roster_get_groups(void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user