Use a checksum of the protocol id and account username for accounts without ids

Review Request #2052 — Created Nov. 10, 2022 and submitted — Latest diff uploaded

Information

pidgin/pidgin
default

Reviewers

This still isn't bullet proof, but it's better than just a UUID4. Any change to
a username, or switch protocols will potentially orphan lots of records, but
this is a step in the right direction.

In the future I'm thinking account names might be better, but the jury is still
out on that one.

Created a new account and verified that it got a sha256 digest as its id in accounts.xml.

Commits

Files