From e54ced72bf59a6ccb42aba5b35e722f5af9e3d17 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 15 Apr 2025 14:15:11 +0300 Subject: =?UTF-8?q?fixes=20#4980=20(Dummy:=20=D0=B4=D0=B2=D0=BE=D0=B9?= =?UTF-8?q?=D0=BD=D0=BE=D0=B9=20=D0=BA=D0=BB=D0=B8=D0=BA=20=D0=BF=D0=BE=20?= =?UTF-8?q?=D0=B4=D1=83=D0=BC=D0=BC=D0=B8-=D0=BF=D1=80=D0=B8=D0=B2=D0=B0?= =?UTF-8?q?=D1=82=D1=83=20=D0=BE=D1=82=D0=BA=D1=80=D1=8B=D0=B2=D0=B0=D0=B5?= =?UTF-8?q?=D1=82=20=D0=B8=D1=81=D1=82=D0=BE=D1=80=D0=B8=D1=8E)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/Dummy/src/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'protocols/Dummy/src/main.cpp') diff --git a/protocols/Dummy/src/main.cpp b/protocols/Dummy/src/main.cpp index 3805214c02..034231f0b5 100644 --- a/protocols/Dummy/src/main.cpp +++ b/protocols/Dummy/src/main.cpp @@ -55,7 +55,10 @@ static int OnDummyDoubleClicked(WPARAM hContact, LPARAM) { if (auto *pa = Proto_GetContactAccount(hContact)) if (pa->ppro && pa->ppro->GetCaps(1000)) { - CallService(MS_HISTORY_SHOWCONTACTHISTORY, hContact, 0); + if (Contact::IsGroupChat(hContact)) + CallService(MS_HISTORY_SHOWCONTACTHISTORY, hContact, 0); + else + CallService(MS_MSG_SENDMESSAGE, hContact, 0); return 1; } -- cgit v1.2.3