some sort of support for "verb-like" URIs
Submitted by Simon McVittie
Assigned to Telepathy bugs list
Description
From Bug #26866:
wjt:
Note that you might also want to support URIs such as 'xmpp:smcv@example.com?subscribe' or, more troublingly, 'aim:goaway?message=bonghits+in+the+hood'.
...
smcv:
Yeah, those URIs are more troublesome. My thought was that initially, we'd just support URIs as nouns (the way the architecture of the Web claims they should be used) mapping to contacts.
If we want to support URIs (mis)used as verbs as well, we'd need to add a separate ActOnURI(s: URI) option that did "something appropriate".
However, I think URIs as verbs are likely to need rather more UI than the CM can offer on its own, and contain additional cans of worms that I don't want blocking the simpler feature. URIs for many (all?) actions shouldn't actually perform the action, they should just open up appropriate UI to prepare to do it (e.g. fill in the message as a draft, or whatever, so the user just has to press Send to confirm).
with more discussion near https://bugs.freedesktop.org/show_bug.cgi?id=26866#c14.
Version: git master