1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/test/persistence
Anthony Bilinski 9ac44ee09c
fix(history): Replace invalid Tox ID saved in peers table with Tox public 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 7168d2b858

Fix #6485
2022-02-20 14:27:33 -08:00
..
dbschema_test.cpp fix(history): Replace invalid Tox ID saved in peers table with Tox public key 2022-02-20 14:27:33 -08:00
offlinemsgengine_test.cpp feat(messages): History and offline message support for extended messages 2021-01-30 12:52:06 -08:00
paths_test.cpp refactor(Paths): Remove Paths factory to enable copy construction 2022-02-16 20:15:46 -08:00
smileypack_test.cpp test(persistence): add smileypack unit test 2021-02-20 16:36:11 -08:00