diff -r a068e5714120 -r 1df5f5e3f1e7 jingle/jingle.c --- a/jingle/jingle.c Wed Aug 25 01:27:46 2010 +0200 +++ b/jingle/jingle.c Wed Aug 25 17:15:49 2010 +0200 @@ -30,6 +30,7 @@ #include #include #include +#include #include #include @@ -356,8 +357,9 @@ for (thisres = reslist; thisres; thisres = g_slist_next(thisres)) { found = TRUE; for (indexns = 0; ns[indexns]; indexns++) { - // if (!caps_has_feature(buddy_resource_getcaps(roster_usr->data, thisres->data), ns[indexns])) - // found = FALSE; + gchar *tmp = buddy_resource_getcaps(roster_usr->data, thisres->data); + if (!caps_has_feature(tmp, (gchar *)ns[indexns])) + found = FALSE; } if (!found) continue;