-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(history): Replace invalid Tox ID saved in peers table with Tox pu…
…blic key Due to an old bug that has since be fixed, old history dbs can contain both a Tox ID version and Tox public key version of the same friend, and always themselves. They could have n more duplicates if they've updated their nospam. Tox ID is an invalid length to be stored in strongly typed ToxPk, and in general having multiple entries belonging to the same user effectively violates our UNIQUE constraint on public_key. Introduced in 7168d2b Fix qTox#6485
- Loading branch information
1 parent
80a0a4a
commit 9ac44ee
Showing
3 changed files
with
108 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters