[Telepathy] [Bug 17324] New: An interface to retrieve display-friendly representations for contacts
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Aug 27 04:35:38 PDT 2008
http://bugs.freedesktop.org/show_bug.cgi?id=17324
Summary: An interface to retrieve display-friendly
representations for contacts
Product: Telepathy
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: enhancement
Priority: low
Component: telepathy-spec
AssignedTo: telepathy at lists.freedesktop.org
ReportedBy: mikhail.zabaluev at nokia.com
As of version 0.17.9, the Telepathy specification provides two sorts of
displayable representations for contact handles: ID strings obtainable using
Connection.InspectHandles, and aliases from the Aliasing interface. There are
use cases that aren't served well by either. If the alias name is not available
for a contact, the UI should display the address. Normalized handle IDs may
have details that obscure the bits relevant for the user, but are important for
correct identification in the protocol or connection manager implementation. A
good example is URI parameters in SIP addresses such as "user=phone";
technically part of address identity, but practically the user shouldn't have
to care about them in most cases.
It's useful to have a way to retrieve string representations for contacts
satisfying the following requirements:
1) Display-friendly so as to omit technical details (e.g. URI parameters, the
default scheme prefix) non-essential for making the contact's address
practically identifiable to the user.
2) Not suitable to uniquely identify a handle. For string s retrieved using the
proposed API, conn.InspectHandles(conn.RequestHandles([s])) will not
necessarily return s, moreover, such strings are not expected to be usable for
requesting handles.
3) Not intended for long-term storage or indexing. The normalized handle ID
should be used for that.
4) Available for retrieval at all connection states, without network
roundtrips.
The default implementation (and the client-side wrapper) could fall back to
retrieving handle IDs.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Telepathy
mailing list