From 49831a23900b83e67b74b80d14849d07641ff01e Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Tue, 16 May 2017 15:23:31 +0300 Subject: [PATCH] Clear room state on logout --- src/ChatPage.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ChatPage.cc b/src/ChatPage.cc index 5751d7f4..25073eac 100644 --- a/src/ChatPage.cc +++ b/src/ChatPage.cc @@ -134,6 +134,7 @@ void ChatPage::logout() user_info_widget_->reset(); client_->reset(); + state_manager_.clear(); room_avatars_.clear(); emit close();