diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-03 18:01:35 +0200 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-03 18:01:35 +0200 |
commit | 289ef4f5872f14c959e2d49c1e8a2e431b6bfa70 (patch) | |
tree | 881ff00b10a3a9be2669d2f3d95c3eb35a6d4bd9 /plugins/TabSRMM/src/chat_window.cpp | |
parent | a7307df7b0ebad1a71a4e2c88f02cf5ae711e3ec (diff) |
tabSRMM: idle message isn't reset in group chats
Diffstat (limited to 'plugins/TabSRMM/src/chat_window.cpp')
-rw-r--r-- | plugins/TabSRMM/src/chat_window.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |