View Single Post
Guest | Posts: n/a | Thanked: 0 times | Joined on
#27
Originally Posted by misiak View Post
Did you patch the binary /usr/lib/telepathy/telepathy-gabble? Or is this file unmodified comparing to original one? We have sources ( the package is in "free" part of repository - http://repository.maemo.org/pool/fre...epathy-gabble/ ) so you should be able to create a source patch, and then it will have greater chances to be included in the CSSU (CSSU guys would be able to load the src to git - unless it's already there - and apply the source patch).
Yes, the original binary is patched according to patch published on debian.net

Code:
--- ./src/roster.c.orig    2013-09-08 15:06:04.487098988 +0200
+++ ./src/roster.c    2013-09-08 15:06:40.820177614 +0200
@@ -1579,23 +1579,6 @@
   if (query_node == NULL)
     return LM_HANDLER_RESULT_ALLOW_MORE_HANDLERS;
 
-  from = lm_message_node_get_attribute (
-      wocky_stanza_get_top_node (message), "from");
-
-  if (from != NULL)
-    {
-      TpHandle sender;
-
-      sender = tp_handle_lookup (contact_repo, from, NULL, NULL);
-
-      if (sender != conn->self_handle)
-        {
-           NODE_DEBUG (iq_node, "discarding roster IQ which is not from "
-              "ourselves or the server");
-          return LM_HANDLER_RESULT_REMOVE_MESSAGE;
-        }
-    }
-
   sub_type = lm_message_get_sub_type (message);
 
   /* if this is a result, it's from our initial query. if it's a set,
 

The Following User Says Thank You to For This Useful Post: