From 3c1b84dd7381e299834ff670e99c6b1d7e453213 Mon Sep 17 00:00:00 2001 From: Tom Grimwood-Taylor Date: Thu, 6 Jun 2019 10:23:14 +0100 Subject: [PATCH] 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. --- Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift b/Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift index 09ba4c9ff..1964830ee 100644 --- a/Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift +++ b/Frameworks/Account/Feedbin/FeedbinAccountDelegate.swift @@ -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)