From 289ef4f5872f14c959e2d49c1e8a2e431b6bfa70 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 3 May 2018 18:01:35 +0200 Subject: tabSRMM: idle message isn't reset in group chats --- plugins/TabSRMM/src/chat_window.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') diff --git a/plugins/TabSRMM/src/chat_window.cpp b/plugins/TabSRMM/src/chat_window.cpp index 5c3799ae88..31abeef29e 100644 --- a/plugins/TabSRMM/src/chat_window.cpp +++ b/plugins/TabSRMM/src/chat_window.cpp @@ -907,6 +907,8 @@ void CChatRoomDlg::UpdateStatusBar() } else mir_snwprintf(mi->tszIdleMsg, TranslateT(", %d %s idle"), diff, diff > 1 ? TranslateT("minutes") : TranslateT("minute")); } + else mi->tszIdleMsg[0] = 0; + mir_snwprintf(szFinalStatusBarText, TranslateT("%s on %s%s"), m_wszMyNickname, mi->ptszModDispName, mi->tszIdleMsg); } else { -- cgit v1.2.3