[Telepathy] Connection.Interface.Requests Spec Question

Danielle Madeley danielle.madeley at collabora.co.uk
Tue Jan 12 23:06:29 PST 2010


Edward,

You might gain some insight by reading
http://people.collabora.co.uk/~danni/telepathy-book/sect.channel.requesting.html

Basically, properties in the requests interface can be any D-Bus
property accepted by an interface, e.g.
org.freedesktop.Telepathy.Channel.TargetID.

Older clients will still work with CMs supporting the Requests
interface. The mixins are provided to make it possible to support both
interfaces from a single codepath. Also to handle things like automatic
conversion of TargetID to TargetHandle, etc.

Have a look how things are implemented in telepathy-butterfly.

Hope this help,

--danni

On Tue, 2010-01-12 at 22:10 -0600, Edward Page wrote:
> Hey,
> 
> I've got my Google Voice connection manager working well with my older
> version of empathy.  I'm now trying to get it to work with the Maemo
> 5.  My initial test case is to enable the CM, open up the chat program
> ("Conversations"), and create a chat with an arbitrary person.  This
> person is not advertised in my contacts.
> 
> From reading python-telepathy 0.15.13-1 it looks like Requests accepts
> either handle id's or handle names.  The latter implies that an
> implicit call to RequestHandles is expected or else why not just use a
> handle id?  RTComm on Maemo 5 seems to expect the handle to have been
> implicitly created when calling CreateChannel when observed through
> dbus-monitor.
> 
> This is then contrasted with python-telepathy's Requests mixin which
> does a lookup through only existing handle's, looking for a name/type
> match to find the right handle id.
> 
> It would probably help if I updated my machine and also validated with
> a newer version of Empathy.  Unfortunately I have a lot of users who
> expect Maemo 4.1 support and my system is running similarly versioned
> components.
> 
> I'm curious who is right, handles being implicitly created through the
> Requests interface or not?
> 
> Also, where in the spec is it documented what parameters are
> required/optional for what channels when calling
> CreateChannels/EnsureChannels?
> 
> As for some unrelated items:
> * Is this list appropriate for python-telepathy specific questions and
> feedback? RTComm?
> 
> Thanks
> Ed Page
> http://theonering.garage.maemo.org/
> _______________________________________________
> telepathy mailing list
> telepathy at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/telepathy


-- 
Danielle Madeley
Software Developer, Collabora Ltd.                  Melbourne, Australia

www.collabora.co.uk



More information about the telepathy mailing list