Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit b8d5f97

Browse files
authored
Merge pull request #799 from matrix-org/dbkr/fix_vanishing_people_section_clear_cache
Fix people section vanishing on 'clear cache'
2 parents 95dfbc5 + d4dc165 commit b8d5f97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/structures/UserSettings.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ module.exports = React.createClass({
443443
_onClearCacheClicked: function() {
444444
if (!PlatformPeg.get()) return;
445445

446+
MatrixClientPeg.get().stopClient();
446447
MatrixClientPeg.get().store.deleteAllData().done(() => {
447448
PlatformPeg.get().reload();
448449
});

0 commit comments

Comments
 (0)