diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-08-26 14:31:23 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-08-26 14:31:23 +0300 |
commit | 177dd6a5b040212beebd0129880241cb13b6ef08 (patch) | |
tree | 5e51e9b820416193daf53bdc04c0d69cec1f63dd /src/ChatPage.cc | |
parent | Update the cache state at once to avoid being in an invalid state (diff) | |
download | nheko-177dd6a5b040212beebd0129880241cb13b6ef08.tar.xz |
Remove cache data when the user logs out
Diffstat (limited to '')
-rw-r--r-- | src/ChatPage.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ChatPage.cc b/src/ChatPage.cc index d199f98c..9bbf58b7 100644 --- a/src/ChatPage.cc +++ b/src/ChatPage.cc @@ -194,6 +194,8 @@ ChatPage::logout() settings.remove(""); settings.endGroup(); + cache_->deleteData(); + // Clear the environment. room_list_->clear(); view_manager_->clearAll(); |