[Telepathy] How to access the ContactList channel after enabling an Account?

Will Thompson will.thompson at collabora.co.uk
Fri Nov 26 06:27:58 PST 2010


On 26/11/10 14:14, Balasubramaniam P wrote:
> Our understanding is that a ContactList channel is created after an
> account is enabled.
> How can we access this channel?

Does this chapter of the Telepathy book help? 
http://telepathy.freedesktop.org/doc/book/sect.channel.contactlist.html

The first example is Python, but can be translated to telepathy-glib by 
imagining it's calling 
tp_cli_connection_interface_requests_call_ensure_channel().

Sorry about the horrible API for contact lists. It'll be replaced by 
something much better soon.  If using TelepathyQt4 is an option for you, 
its Tp::ContactManager API hides the pain.

Regards.
-- 
Will


More information about the telepathy mailing list