[Telepathy-commits] [telepathy-gabble/master] Add comment on identity

Alban Crequy alban.crequy at collabora.co.uk
Tue Aug 19 10:52:35 PDT 2008


20080512154233-a41c0-8ff7994b9d5cc475d9f22fa66541edc1052e1f68.gz
---
 src/gabble-connection.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/gabble-connection.c b/src/gabble-connection.c
index 6eb718d..bcc366f 100644
--- a/src/gabble-connection.c
+++ b/src/gabble-connection.c
@@ -1506,7 +1506,9 @@ connection_iq_disco_cb (LmMessageHandler *handler,
   DEBUG ("got disco request for node %s, caps are %x", node,
       self->self_presence->caps);
 
-  /* Every entity MUST have at least one identity (XEP-0030) */
+  /* Every entity MUST have at least one identity (XEP-0030). Gabble publishs
+   * one identity. If you change the identity here, you also need to change
+   * gabble_presence_compute_xep0115_hash_from_self_presence(). */
   identity = lm_message_node_add_child
       (result_query, "identity", NULL);
   lm_message_node_set_attribute (identity, "category", "client");
-- 
1.5.6.3




More information about the Telepathy-commits mailing list