comparison mcabber/mcabber/compl.c @ 1685:1342df44c814

Improved events interface * User can pass additional arguments to event handler * MUC invitation reject now can be supplied a reason
author Myhailo Danylenko <isbear@ukrpost.net>
date Tue, 02 Feb 2010 22:44:18 +0100
parents 41c26b7d2890
children e6e89b1d7831
comparison
equal deleted inserted replaced
1684:95df4ea512c8 1685:1342df44c814
274 } 274 }
275 if (cat_flags == COMPL_RESOURCE) { 275 if (cat_flags == COMPL_RESOURCE) {
276 return buddy_getresources_locale(NULL); 276 return buddy_getresources_locale(NULL);
277 } 277 }
278 if (cat_flags == COMPL_EVENTSID) { 278 if (cat_flags == COMPL_EVENTSID) {
279 return evs_geteventslist(TRUE); 279 GSList *compl = evs_geteventslist();
280 GSList *cel;
281 for (cel = compl; cel; cel = cel->next)
282 cel->data = g_strdup(cel->data);
283 compl = g_slist_append(compl, g_strdup("list"));
284 return compl;
280 } 285 }
281 286
282 *dynlist = FALSE; 287 *dynlist = FALSE;
283 return NULL; 288 return NULL;
284 } 289 }