[Bug 26866] add support for requesting handles for a vCard field or URI
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Aug 26 21:13:32 CEST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=26866
--- Comment #27 from Eitan Isaacson <eitan.isaacson at collabora.co.uk> 2010-08-26 12:13:32 PDT ---
(In reply to comment #23)
> How about something like this... For example on Gabble (with no PSTN gateway):
>
> Addressing.GetContactsByVCardField("x-jabber", "eitan at EXAMPLE.COM", []) =>
> Addressing/representations = {"x-jabber": "eitan at example.com",
> "url": "xmpp:eitan at example.com"}
> Addressing/requested = ("x-jabber", "eitan at EXAMPLE.COM")
>
> And for a TEL request:
> Addressing.GetContactsByVCardField("tel", "+12065553232", []) =>
> Addressing/representations = []
> Addressing/requested = ("tel", "+12065553232")
>
All this has been added in fbaf085
> > Perhaps we should special-case "url" in TargetVCardField, or maybe even in
> > AddressableVCardFields too (which would remove the need for
> > AddressableURISchemes), so you set (TargetVCardField, TargetVCardAddress) to
> > either ("url:xmpp", "xmpp:smcv at example.com") or ("url:xmpp",
> > "smcv at example.com")?
>
> I like it.
>
Done. c146214
> >
> > (If we go for the former, duplicative, form, telepathy-glib's channel manager
> > code could enforce it if desired. If we go for the latter form, then
> > hierarchical URI schemes would look pretty weird: ("url:http",
> > "//people.collabora.co.uk/~smcv/") :-)
> >
>
> tp-glib could enforce either, no? Just strip/add scheme. Let's go with the
> former.
c146214
--
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