Remove join records between launches

This commit is contained in:
Justin Mazzocchi 2021-01-16 00:41:52 -08:00
parent dc22b43108
commit 8c207b53a6
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C
1 changed files with 2 additions and 0 deletions

View File

@ -572,6 +572,8 @@ private extension ContentDatabase {
let notificationStatusIds: [Status.Id]
try ConversationRecord.deleteAll($0)
try StatusAncestorJoin.deleteAll($0)
try StatusDescendantJoin.deleteAll($0)
if useNotificationsLastReadId {
var notificationIds = try MastodonNotification.Id.fetchAll(