diff options
author | George Hazan <george.hazan@gmail.com> | 2024-09-18 21:14:48 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-09-18 21:14:48 +0300 |
commit | a8d6dada3453451daf3110759c2f9750b7998043 (patch) | |
tree | 4c709cf4195c8101e5163311892e63fb6a837b76 /plugins | |
parent | a33e78824264ed11bde0051914a3d4d1e68d44ed (diff) |
fixes #4672 (Highlighting: При автооткрытии вкладки в табсах по обнаружению хайлайтнутых сообщений в групчате открывается не то)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TabSRMM/src/msgs.cpp | 8 |
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;
}
|