[Telepathy] Approving a client

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Apr 25 00:08:01 PDT 2011


Le dimanche 24 avril 2011 à 18:04 +0100, Eoin O'Connor a écrit :
> Im trying to write a client that takes control of a channel. The
> approver  method gets called, and prints, but none of the three
> commented out lines will work, they all just hang. What am i doing
> wrong?. The whole file is here.

Hi there,

I would strongly suggest you to consider using telepathy-glib's gir
support instead of telepathy-python. It will offer you higher level API
such as TpBaseClient, TpSimpleHandler, TpSimpleApprover which should
make your life much easier.

See 
telepathy-glib/examples/client/python/ for some Python examples.


Regards,


	G.




More information about the telepathy mailing list