Fix a Feedbin subscriptionID going out of sync.
If, for example, a user deleted a feed and recreated it on the server without a sync in between, the subscription ID for the feed would update on the server, but remain unchanged locally. If the user then wanted to delete or rename the feed they'd get a 404 error.
This commit is contained in:
parent
cd85e52fdd
commit
3c1b84dd73
|
@ -648,6 +648,7 @@ private extension FeedbinAccountDelegate {
|
|||
if let feed = account.idToFeedDictionary[subFeedId] {
|
||||
feed.name = subscription.name
|
||||
feed.homePageURL = subscription.homePageURL
|
||||
feed.subscriptionID = String(subscription.subscriptionID)
|
||||
} else {
|
||||
let feed = account.createFeed(with: subscription.name, url: subscription.url, feedID: subFeedId, homePageURL: subscription.homePageURL)
|
||||
feed.subscriptionID = String(subscription.subscriptionID)
|
||||
|
|
Loading…
Reference in New Issue