Bug 30185

Summary: add api to find the tpccount a contact belongs to
Product: Telepathy Reporter: Felix Kaser <f.kaser>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED DUPLICATE QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Felix Kaser 2010-09-14 08:23:47 UTC
The problem has arisen, because folks exposes only tpcontacts, which is reasonable. But empathy, folks and any potential other client need the tpaccount in order to do anything with the contact (folks needs it to set some attributes in tpfpersona, e.g. the protocol). empathy and folks both use the same approach: they get the connection from the contact, get all the accounts from the account manager and compare the connection of each account to the connection of the contact.

tp-glib should provide some api to do this in an easy way without getting all the accounts and comparing them yourself.
Comment 1 Guillaume Desmottes 2010-09-15 00:34:51 UTC
Closing as a dup of bug #29417 as that's basically the same issue.

*** This bug has been marked as a duplicate of bug 29417 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.