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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 30 09:58:04 CEST 2010


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

--- Comment #39 from Eitan Isaacson <eitan.isaacson at collabora.co.uk> 2010-08-30 00:58:04 PDT ---
(In reply to comment #37)
> (In reply to comment #33)
> >  * To split the attribute above to vcard-representations and
> > uri-representations.
> 
> Yes. Maybe some shorter names, like 'addresses' and 'uris'.
> Or maybe just drop the representations for now (move to a branch for later
> consideration), since we have requested (and its URI brother?).
> 

Added in the most recent HEAD in my branch (da2679d).

> >  * Addressing.GetContactsByURI
> >  * Add Protocol.AddressableURIField
> 
> AddressableURISchemes?
> 
> >  * Add Channel.TargetURIScheme and Channel.TargetURI
> 
> The scheme may be needed for dispatching, right? Otherwise it is redundant.

Right :(

> 
> > URLs could just be on their own and not be used as URL fields from vcards, so
> > this weird pattern could be avoided:
> > Addressing.GetContactsByVCardField("url", "sip:example.com")
> > 
> > And instead would be:
> > Addressing.GetContactsByURI("sip:eitan at example.com")
> > and
> > EnsureChannel(
> >   { ChannelType: Call,
> >     TargetURIScheme: "sip",
> >     TargetURI: "sip:eitan at example.com",
> >   });
> > 
> > Does all that look reasonable?
> 
> Yep.

Done.

-- 
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