Clear room state on logout

This commit is contained in:
Konstantinos Sideris 2017-05-16 15:23:31 +03:00
parent a568d60cef
commit 49831a2390

View file

@ -134,6 +134,7 @@ void ChatPage::logout()
user_info_widget_->reset(); user_info_widget_->reset();
client_->reset(); client_->reset();
state_manager_.clear();
room_avatars_.clear(); room_avatars_.clear();
emit close(); emit close();