mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-14 10:36:03 +01:00
Don't send article notification if the article has been read on another device
This commit is contained in:
parent
9203444552
commit
d41da79c72
@ -24,7 +24,7 @@ final class UserNotificationManager: NSObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for article in articles {
|
for article in articles {
|
||||||
if let feed = article.feed, feed.isNotifyAboutNewArticles ?? false {
|
if !article.status.read, let feed = article.feed, feed.isNotifyAboutNewArticles ?? false {
|
||||||
sendNotification(feed: feed, article: article)
|
sendNotification(feed: feed, article: article)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user