qTox/src
Anthony Bilinski 9a8706a65f
fix(history): Heal duplicate peer entries with different case
Prior to 2f4e8dc3e8 we would take
the written ToxID and insert that straight into history without
any case check

Must be done prior to schema 11 since even though the UNIQUE constraint
on the peers table is fooled by the different case, the UNIQUE
constraint on the new chats and authors table which are stored as BLOBS
fail during upgrade when the two different case but equal ToxPks
collide.

Unfortunately it can't be done as its own upgrade since 11 was already
merged, and this is a prerequisite for 11 to pass for some users.

Execute prior to starting the split peer upgrade instead of as a larger
transaction for simplicity of the split upgrade, and since executing
this deduplication is idempotent.
2022-05-22 11:15:59 -07:00
..
chatlog feat(CI): Disallow unsafe implicit casts to QString 2022-04-05 12:10:05 -07:00
core feat(CI): Disallow unsafe implicit casts to QString 2022-04-05 12:10:05 -07:00
model feat(CI): Disallow unsafe implicit casts to QString 2022-04-05 12:10:05 -07:00
net feat(CI): Disallow unsafe implicit casts to QString 2022-04-05 12:10:05 -07:00
persistence fix(history): Heal duplicate peer entries with different case 2022-05-22 11:15:59 -07:00
platform feat(CI): Disallow unsafe implicit casts to QString 2022-04-05 12:10:05 -07:00
video feat(CI): Disallow unsafe implicit casts to QString 2022-04-05 12:10:05 -07:00
widget refactor(IPC): Remove activate's handler reliance on global state 2022-05-21 17:18:07 -07:00
friendlist.cpp refactor: Move FriendList global state into class 2022-03-30 19:04:11 -07:00
friendlist.h refactor: Move FriendList global state into class 2022-03-30 19:04:11 -07:00
grouplist.cpp refactor: Move GroupList global state into class 2022-04-05 10:34:53 -07:00
grouplist.h refactor: Move GroupList global state into class 2022-04-05 10:34:53 -07:00
ipc.cpp refactor(IPC): Remove activate's handler reliance on global state 2022-05-21 17:18:07 -07:00
ipc.h refactor(IPC): Remove activate's handler reliance on global state 2022-05-21 17:18:07 -07:00
loginscreen.ui refactor(nexus): make loginscreen independent of nexus 2018-02-01 22:00:06 +01:00
main.cpp refactor(IPC): Remove activate's handler reliance on global state 2022-05-21 17:18:07 -07:00
mainwindow.ui fix(ui): show empty status as placeholder instead of as status 2019-05-07 14:34:08 -07:00
nexus.cpp refactor(IPC): Remove activate's handler reliance on global state 2022-05-21 17:18:07 -07:00
nexus.h refactor(IPC): Remove activate's handler reliance on global state 2022-05-21 17:18:07 -07:00