From 177dd6a5b040212beebd0129880241cb13b6ef08 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sat, 26 Aug 2017 14:31:23 +0300 Subject: Remove cache data when the user logs out --- src/ChatPage.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ChatPage.cc') 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(); -- cgit 1.4.1