Renamed autocomplete function to get list

This commit is contained in:
James Booth
2014-09-26 00:06:50 +01:00
parent 0afdbfaf03
commit 0b2a1a1bc7
6 changed files with 39 additions and 27 deletions

View File

@@ -102,13 +102,13 @@ muc_invite_count(void)
GSList *
muc_get_invites(void)
{
return autocomplete_get_list(invite_ac);
return autocomplete_create_list(invite_ac);
}
gboolean
muc_invites_include(const char * const room)
{
GSList *invites = autocomplete_get_list(invite_ac);
GSList *invites = autocomplete_create_list(invite_ac);
GSList *curr = invites;
while (curr != NULL) {
if (strcmp(curr->data, room) == 0) {