[Telepathy] D-tubes and empathy

Youness Alaoui youness.alaoui at collabora.co.uk
Mon Nov 9 09:17:51 PST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Danielle Madeley wrote:
> On Mon, 2009-11-09 at 02:29 +1100, Jiri Baum wrote:
> 
>> I suspect it won't quite be the new API, because telepathy-python doesn't have 
>> AccountManager bindings but does have a little function that scans the bus for 
>> names beginning with "org.freedesktop.Telepathy.Connection." but that's minor.
> 
> Don't do that. Talk to the AccountManager.
> 
> Here is a trivial binding for AccountManager, you could easily flesh
> this out and submit it to Telepathy-Python.
> 
> 

Hi,

I'm also working on making a telepathy client use dtubes, You can find
my work here :
http://gitorious.org/teamgeist/teamgeist/trees/master

I've barely started on it (the base classes are pretty much done
though), so the code in tp_client.py is nothing more than a proof of
concept playground. You can use it to see how you can use the base
classes. What it does right now is ask the AccountManager for all
accounts and listen to valid, connected gabble accounts and fetch the
contact list of all the users in the gabble connections.
It also defines a Telepathy.Client which after 5 seconds, asks the
channel dispatcher to request a MUC channel from the first connected
gabble account it finds.

Comments are appreciated on how to improve the base classes if you plan
on using them.

Youness.

> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> telepathy mailing list
> telepathy at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/telepathy

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkr4Tr8ACgkQqvxLNLvrsxz1lwCfTX3ClRYDLRwG7VXgcY4V4VG1
agwAmQFowIh1R7XXl3K3jUHDjUNdI09B
=daw5
-----END PGP SIGNATURE-----


More information about the telepathy mailing list