Bug 23131 - ConnectionManager: ability to normalize account IDs for Account creation
Summary: ConnectionManager: ability to normalize account IDs for Account creation
Status: RESOLVED DUPLICATE of bug 20774
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-spec (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard: see 20774
Keywords:
Depends on: 20774
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-04 03:38 UTC by Simon McVittie
Modified: 2010-06-09 05:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.