[telepathy-gabble/master] FIXME: we don't obey a MUST when registering

Will Thompson will.thompson at collabora.co.uk
Wed Apr 8 08:30:34 PDT 2009


---
 src/register.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/register.c b/src/register.c
index 8c5b750..0a76e61 100644
--- a/src/register.c
+++ b/src/register.c
@@ -272,6 +272,13 @@ get_reply_cb (GabbleConnection *conn,
   if (!lm_message_node_get_child (query_node, "password"))
     goto ERROR_MALFORMED_REPLY;
 
+  /* FIXME: "The requesting entity MUST provide information for all of the
+   *        elements (other than <instructions/>) contained in the IQ result."
+   *        What should we do if the IQ contains <email/> or something else
+   *        that we can't provide? Currently we just submit the form anyway and
+   *        hope for the best.
+   */
+
   /* craft a reply */
   msg = lm_message_new_with_sub_type (NULL, LM_MESSAGE_TYPE_IQ,
                                       LM_MESSAGE_SUB_TYPE_SET);
-- 
1.5.6.5




More information about the telepathy-commits mailing list