[telepathy-gabble/master] Add a FIXME about unclear first/last mapping
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Wed Aug 26 09:22:02 PDT 2009
---
src/search-channel.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/search-channel.c b/src/search-channel.c
index 8acd43b..d81a801 100644
--- a/src/search-channel.c
+++ b/src/search-channel.c
@@ -102,6 +102,13 @@ typedef struct {
gchar *tp_name;
} FieldNameMapping;
+/* FIXME: it's unclear how "first" and "last" should be mapped.
+ * http://xmpp.org/registrar/formtypes.html#jabber:iq:search maps
+ * "first" with "First Name" and "last" with "Family Name".
+ * But Example 7 of XEP-0055 describes "first" as the "Given Name".
+ * Maybe we need to add x-first and x-last?
+ */
+
static const FieldNameMapping field_mappings[] = {
/* Fields specified for non-Data Forms searches */
{ "first", "x-n-given" },
--
1.5.6.5
More information about the telepathy-commits
mailing list