Fix bug that prevented http caching from working

This commit is contained in:
Maurice Parker 2019-05-05 17:46:53 -05:00
parent 8ba3ba4f45
commit 18f2c7b723
3 changed files with 3 additions and 2 deletions

View File

@ -120,7 +120,7 @@ public final class Account: DisplayNameProvider, UnreadCountProvider, Container,
private var flattenedFeedsNeedUpdate = true private var flattenedFeedsNeedUpdate = true
private let metadataPath: String private let metadataPath: String
private var metadata = AccountMetadata() var metadata = AccountMetadata()
private var metadataDirty = false { private var metadataDirty = false {
didSet { didSet {
queueSaveAccountMetadatafNeeded() queueSaveAccountMetadatafNeeded()

View File

@ -68,6 +68,7 @@ final class FeedbinAccountDelegate: AccountDelegate {
func accountDidInitialize(_ account: Account) { func accountDidInitialize(_ account: Account) {
credentials = try? account.retrieveBasicCredentials() credentials = try? account.retrieveBasicCredentials()
accountMetadata = account.metadata
} }
} }

@ -1 +1 @@
Subproject commit 6debc23747ee7e8addc9e1a0547a7bf06239a3c9 Subproject commit e57f3ee1317e67df87cf2f03e80d357a4795a341