diff options
Diffstat (limited to 'protocols/Dummy/src')
-rw-r--r-- | protocols/Dummy/src/main.cpp | 5 | ||||
-rw-r--r-- | protocols/Dummy/src/version.h | 2 |
2 files changed, 5 insertions, 2 deletions
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;
}
diff --git a/protocols/Dummy/src/version.h b/protocols/Dummy/src/version.h index bd75e30c41..16ccdf16a6 100644 --- a/protocols/Dummy/src/version.h +++ b/protocols/Dummy/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 2
#define __RELEASE_NUM 0
-#define __BUILD_NUM 1
+#define __BUILD_NUM 2
#include <stdver.h>
|