mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Guard against empty queries. Issue #1431
This commit is contained in:
@@ -682,7 +682,7 @@ private extension ArticlesTable {
|
||||
}
|
||||
|
||||
func fetchArticleIDsAsync(_ statusKey: ArticleStatus.Key, _ value: Bool, _ webFeedIDs: Set<String>, _ callback: @escaping (Set<String>) -> Void) {
|
||||
guard !queue.isSuspended else {
|
||||
guard !queue.isSuspended && !webFeedIDs.isEmpty else {
|
||||
callback(Set<String>())
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user