--- 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 <mcabber/logprint.h>
#include <mcabber/xmpp_helper.h>
#include <mcabber/events.h>
+#include <mcabber/caps.h>
#include <jingle/jingle.h>
#include <jingle/check.h>
@@ -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;