Make sure the statuses get updated before the unread count query executes. Issue #670

This commit is contained in:
Maurice Parker 2019-05-20 17:08:16 -05:00
parent 3ae9bdb74f
commit 8e7b1c8454
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ final class StatusesTable: DatabaseTable {
}
let articleIDs = updatedStatuses.articleIDs()
queue.update { (database) in
queue.updateSync { (database) in
self.markArticleIDs(articleIDs, statusKey, flag, database)
}
return updatedStatuses