View Single Post
Posts: 78 | Thanked: 135 times | Joined on Jul 2012
#49
Originally Posted by mrbee View Post
Facebook chat on my N900 is no more working. I can no longer see my Online Contacts. Please help me.
This is related to the N9 issues, as Telepathy discards the roster of contacts the Facebook XMPP server is sending because it does not properly format its response. The N9 version of Telepathy is not affected because the relevant check has been removed in the meantime. If somebody wants to patch Freemantle, it probably boils down to something similar to

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,
(See https://paste.debian.net/36883)


This patch fixes it for me on Debian squeeze.

Last edited by mbanck; 2013-09-08 at 13:31.
 

The Following 2 Users Say Thank You to mbanck For This Useful Post: