Bug 23131

Summary: ConnectionManager: ability to normalize account IDs for Account creation
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: tp-specAssignee: 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: see 20774
i915 platform: i915 features:
Bug Depends on: 20774    
Bug Blocks:    

Description Simon McVittie 2009-08-04 03:38:53 UTC
For the AccountManager to be able to guarantee that "the same" account details lead to the same account, ConnectionManager would need the following method:

IdentifyAccount(s: protocol, a{sv}: params) -> s: object_path_tail

For instance, for most protocols (e.g. XMPP) this would return normalize(params["account"]), but for IRC this would return normalize(params["account"]) + "__" + normalize(params["server"]) or something.
Comment 1 Simon McVittie 2010-06-09 05:42:59 UTC
The Protocol objects in Bug #20774 also solve this, and nobody has suggested an alternative implementation, so I'll consider this a duplicate of #20774.

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

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.