summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/msgs.cpp')
-rw-r--r--plugins/TabSRMM/src/msgs.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp
index c50ca4d251..e02f0035fd 100644
--- a/plugins/TabSRMM/src/msgs.cpp
+++ b/plugins/TabSRMM/src/msgs.cpp
@@ -186,8 +186,12 @@ INT_PTR SendMessageCommand_W(WPARAM hContact, LPARAM lParam)
static INT_PTR TypingMessageCommand(WPARAM, LPARAM lParam)
{
CLISTEVENT *cle = (CLISTEVENT*)lParam;
- if (cle)
- SendMessageCommand((WPARAM)cle->hContact, 0);
+ if (cle) {
+ if (Contact::IsGroupChat(cle->hContact))
+ return CALLSERVICE_NOTFOUND;
+
+ SendMessageCommand(cle->hContact, 0);
+ }
return 0;
}