<br><br>
<div class="gmail_quote">On Fri, Nov 26, 2010 at 7:57 PM, Will Thompson <span dir="ltr"><<a href="mailto:will.thompson@collabora.co.uk" target="_blank">will.thompson@collabora.co.uk</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>On 26/11/10 14:14, Balasubramaniam P wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Our understanding is that a ContactList channel is created after an<br>account is enabled.<br>How can we access this channel?<br>
</blockquote><br></div>Does this chapter of the Telepathy book help? <a href="http://telepathy.freedesktop.org/doc/book/sect.channel.contactlist.html" target="_blank">http://telepathy.freedesktop.org/doc/book/sect.channel.contactlist.html</a><br>
<br>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().<br><br>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.</blockquote>
<div> </div>
<div>Thanks for the super fast reply!</div>
<div> </div>
<div>When we tried tp_cli_connection_interface_requests_call_ensure_channel(), we get the following error:</div>
<div>
<div><font size="2">failed: Object /org/freedesktop/Telepathy/Connection/gabble/jabber/alwaysbcool_40gmail_2ecom_2f66f7bbd0 does not have interface org.freedesktop.Telepathy.Connection.Interface.Requests</font></div>
<div>We will check it more. If you have any suggestions, do let us know.</div>
<div> </div>
<div>And, we are using telepathy-glib</div>
<div> </div>
<div>Regards,</div>
<div>Bala</div></div></div>