mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-29 00:31:14 +00:00
Fix bug where sending an article's read status could delete its queued starred status.
This commit is contained in:
1 parent
41395fb9b7
commit
e5171cbb0b
6 files changed
+35
-22
No files matched your search
@@ -55,12 +55,14 @@ public actor SyncDatabase {
|
||||
}
|
||||
}
|
||||
|
||||
public func resetSelectedForProcessing(_ articleIDs: Set<String>) {
|
||||
SyncStatusTable.resetSelectedForProcessing(articleIDs, database: database)
|
||||
/// Pass `key` when sending one status kind at a time. A nil key matches all kinds —
|
||||
/// correct only when every queued kind for these articleIDs was sent together.
|
||||
public func resetSelectedForProcessing(_ articleIDs: Set<String>, key: SyncStatus.Key? = nil) {
|
||||
SyncStatusTable.resetSelectedForProcessing(articleIDs, key: key, database: database)
|
||||
}
|
||||
|
||||
public func deleteSelectedForProcessing(_ articleIDs: Set<String>) {
|
||||
SyncStatusTable.deleteSelectedForProcessing(articleIDs, database: database)
|
||||
public func deleteSelectedForProcessing(_ articleIDs: Set<String>, key: SyncStatus.Key? = nil) {
|
||||
SyncStatusTable.deleteSelectedForProcessing(articleIDs, key: key, database: database)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user