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.
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.