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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 17 19:09:28 CEST 2010


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

--- Comment #12 from Eitan Isaacson <eitan.isaacson at collabora.co.uk> 2010-08-17 10:09:28 PDT ---
(In reply to comment #10)
> Do we need to duplicate it all for URI? I'm thinking maybe URIs could work like
> vCards, splitting the scheme and "host" part, and we would remove "VCard" from
> the names above.
> 
> I think the real power in URIs are in their query strings (subscribe, message,
> etc.). So maybe the "noun" URIs should use the same API as vCard, and then
> there would be a Connection method HandleURI or something that would execute a
> URI with a query string.
> 
> For example:
> HandleURI("xmpp:romeo at montague.net?message;body=Hello%20World")
> would be the equivalent of Conn.I.EnsureChannel and Chan.T.Text.Send.

And there would need to be a way for a CM to advertise supported schemes. We
will assume that if a scheme is supported, it could handle basic+ query
strings. If not then HandleURI would raise an InvalidArgument exception.

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



More information about the telepathy-bugs mailing list