Skip to content
This repository was archived by the owner on Apr 12, 2022. It is now read-only.

Commit 30d4af2

Browse files
committed
Update the version used to trigger a clear cache during the application update
related to PR #676
1 parent b5c4ca0 commit 30d4af2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vector/src/main/java/im/vector/activity/VectorHomeActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ public void initUiAndData() {
366366
Log.d(LOG_TAG, "The application has been updated from version " + version + " to version " + BuildConfig.VERSION_CODE);
367367

368368
// Add some dedicated actions here
369-
if (version < 74) {
370-
// Force a cache clearing, this is required because of the new state event room_access_rules handling.
369+
if (version < 76) {
370+
// Force a cache clearing in case of update with v1.1.0 and higher to refresh the stored RoomAccountData.
371371
Matrix.getInstance(this).reloadSessions(this, true);
372372
return;
373373
}

0 commit comments

Comments
 (0)