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

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(