Fixed calls for MCabber API changes in 0.10.2. default tip
authorDominik George <nik@naturalnet.de>
Mon, 04 Nov 2013 20:45:18 +0100
changeset 172 d33526eba590
parent 171 2729dfd1c085
Fixed calls for MCabber API changes in 0.10.2.
jingle-ft/filetransfer.c
jingle/jingle.c
--- a/jingle-ft/filetransfer.c	Sun Mar 27 21:41:06 2011 +0200
+++ b/jingle-ft/filetransfer.c	Mon Nov 04 20:45:18 2013 +0100
@@ -793,7 +793,7 @@
 {
   jingle_register_app(NS_JINGLE_APP_FT, &funcs, JINGLE_TRANSPORT_STREAMING);
   xmpp_add_feature(NS_JINGLE_APP_FT);
-  jft_cid = compl_new_category();
+  jft_cid = compl_new_category(0);
   if (jft_cid) {
     compl_add_category_word(jft_cid, "send");
     //compl_add_category_word(jft_cid, "request");
--- a/jingle/jingle.c	Sun Mar 27 21:41:06 2011 +0200
+++ b/jingle/jingle.c	Mon Nov 04 20:45:18 2013 +0100
@@ -358,7 +358,7 @@
     found = TRUE;
     for (indexns = 0; ns[indexns]; indexns++) {
       gchar *tmp = buddy_resource_getcaps(roster_usr->data, thisres->data);
-      if (!caps_has_feature(tmp, (gchar *)ns[indexns]))
+      if (!caps_has_feature(tmp, (gchar *)ns[indexns], NULL))
         found = FALSE;
       }
       if (!found) continue;