summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdlgother.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgother.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdlgother.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/msgdlgother.cpp b/plugins/TabSRMM/src/msgdlgother.cpp
index 3be7d4eb8b..36012b25f3 100644
--- a/plugins/TabSRMM/src/msgdlgother.cpp
+++ b/plugins/TabSRMM/src/msgdlgother.cpp
@@ -2009,12 +2009,12 @@ void CMsgDialog::tabUpdateStatusBar() const
int CMsgDialog::Typing(int secs)
{
- if (m_si != nullptr && m_si->iType != GCW_PRIVMESS)
+ if (!AllowTyping())
return 0;
int preTyping = m_nTypeSecs != 0;
- m_nTypeSecs = (secs > 0) ? secs : 0;
+ setTyping(m_nTypeSecs = (secs > 0) ? secs : 0);
if (m_nTypeSecs)
m_bShowTyping = 0;