Skip to content

Commit

Permalink
Room members: the states of some members are wrong
Browse files Browse the repository at this point in the history
It was possible to observe again this issue on Tchap-ios v1.0.21 (whereas it was supposed to be fixed on v1.0.18), because a clear cache was not triggered by default.

Force a clear cache on application update by using "lastAppVersionWhichRequiresCacheClearing" value

#253
  • Loading branch information
giomfo committed Apr 21, 2020
1 parent 2ef2400 commit d5e7e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tchap/Modules/Application/AppCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ final class AppCoordinator: AppCoordinatorType {

private enum Constants {
static let expiredAccountError: String = "ORG_MATRIX_EXPIRED_ACCOUNT"
static let lastAppVersionWhichRequiresCacheClearing: AppVersion = AppVersion(bundleShortVersion: "1.0.17", bundleVersion: "1")
static let lastAppVersionWhichRequiresCacheClearing: AppVersion = AppVersion(bundleShortVersion: "1.0.23", bundleVersion: "1")
}

// MARK: - Properties
Expand Down

0 comments on commit d5e7e10

Please sign in to comment.