[Bug 26866] add support for requesting handles for a vCard field or URI

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 27 14:55:24 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=26866

--- Comment #30 from Mikhail Zabaluev <mikhail.zabaluev at nokia.com> 2010-08-27 05:55:23 PDT ---
    <tp:contact-attribute name="representations" type="a{ss}"
                          tp:type="Representations_Map">
      <tp:docstring>
        The various vCard and URI addresses that identify this contact.
      </tp:docstring>
    </tp:contact-attribute>

I think it's better to have another attribute for URI representations, rather
than (in addition to?) distinguishing them by the special "url:" namespace
(which may be a misnomer, as URLs are a subset of URIs). A client should not be
forced to filter maps if it is only interested in URI representations. Also,
with my pet case of using URNs, "url:urn" will look ugly and confusing.

    <tp:contact-attribute name="requested" type="s">
      <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
        <p>The contact's address, as it was requested
        through <tp:member-ref>GetContactsByVCardField</tp:member-ref>.</p>
      </tp:docstring>
    </tp:contact-attribute>

Should the vCard field name be also represented?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the telepathy-bugs mailing list