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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 6 19:59:12 CEST 2010


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

--- Comment #49 from Eitan Isaacson <eitan.isaacson at collabora.co.uk> 2010-09-06 10:59:12 PDT ---
(In reply to comment #47)
> If you're worried, you could say this at appropriate places in
> Chan.I.Addressing:
> 
>     If the protocol's identifiers can be represented as a vCard field, and
>     the connection manager supports this interface, then
>     every channel whose _TargetHandleType_ is Contact MUST have
>     non-empty _TargetVCardField_ and _TargetVCardAddress_ properties that
>     represent the _TargetID_.
> 
>     (For instance, XMPP channels that communicate with a contact would
>     have TargetVCardField = "x-jabber", and TargetVCardAddress equal to
>     TargetID; channels on a SIP connection with a PSTN gateway might
>     have a TargetVCardField of either "x-sip" or "tel".)
> 
>     If the protocol's identifiers can be represented as a URI,
>     and the connection manager supports this interface, then every
>     channel whose _TargetHandleType_ is Contact MUST have a non-empty
>     _TargetURI_ property that represents the _TargetID_, and
>     a corresponding _TargetURIScheme_ property.
> 
>     (For instance, XMPP channels that communicate with a contact would
>     have TargetURIScheme = "xmpp", and TargetURI set to an xmpp: URI
>     corresponding to the TargetID; channels on a SIP connection with
>     a PSTN gateway might have a TargetURIScheme of either "sip", "sips"
>     or "tel".)

I don't think these are correct. A random channel with a contact target handle
will not have these properties populated unless they were requested. This is
because one given contact could have more than one address, this is why the
contact addressing attributes are in plural.

My concern was that CMs that implement this need to make sure that all
call/tube/text/etc channels implement this interface for consistency's sake.
It's not a big deal, but it's yet another interface. And by "implement" I just
mean this needs to show up in Channel.Interfaces, that's all.

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