summary refs log tree commit diff
path: root/src/ChatPage.cc
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-10-21 16:46:11 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-10-21 16:46:11 +0300
commit47d1546adfee1ee1c6b44906b7f3a80aecd6f354 (patch)
tree3da6ffddf3795ad64a010c933075ea650651d975 /src/ChatPage.cc
parentRemove snap (diff)
downloadnheko-47d1546adfee1ee1c6b44906b7f3a80aecd6f354.tar.xz
Clean unread count when the user logs out
fixes #60
Diffstat (limited to 'src/ChatPage.cc')
-rw-r--r--src/ChatPage.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ChatPage.cc b/src/ChatPage.cc
index cf78d8a1..6d8c7cea 100644
--- a/src/ChatPage.cc
+++ b/src/ChatPage.cc
@@ -277,6 +277,8 @@ ChatPage::resetUI()
         user_info_widget_->reset();
         view_manager_->clearAll();
         AvatarProvider::clear();
+
+        showUnreadMessageNotification(0);
 }
 
 void