1 --- telepathy-gabble-0.9.13/src/connection.c~ 2010-06-14 15:57:03.000000000 +0200
2 +++ telepathy-gabble-0.9.13/src/connection.c 2010-06-18 15:44:05.279021780 +0200
3 @@ -1690,24 +1690,25 @@
4 if (disco_error != NULL)
6 DEBUG ("Got disco error on bare jid: %s", disco_error->message);
10 - for (i = node_iter (result); i; i = node_iter_next (i))
13 - LmMessageNode *child = node_iter_data (i);
15 - if (!tp_strdiff (child->name, "identity"))
16 + for (i = node_iter (result); i; i = node_iter_next (i))
18 - const gchar *category = lm_message_node_get_attribute (child,
20 - const gchar *type = lm_message_node_get_attribute (child, "type");
22 - if (!tp_strdiff (category, "pubsub") &&
23 - !tp_strdiff (type, "pep"))
24 + LmMessageNode *child = node_iter_data (i);
26 + if (!tp_strdiff (child->name, "identity"))
28 - DEBUG ("Server advertises PEP support in our jid features");
29 - conn->features |= GABBLE_CONNECTION_FEATURES_PEP;
30 + const gchar *category = lm_message_node_get_attribute (child,
32 + const gchar *type = lm_message_node_get_attribute (child, "type");
34 + if (!tp_strdiff (category, "pubsub") &&
35 + !tp_strdiff (type, "pep"))
37 + DEBUG ("Server advertises PEP support in our jid features");
38 + conn->features |= GABBLE_CONNECTION_FEATURES_PEP;