diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index 7032a1478c..636a8b6d98 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -119,6 +119,9 @@ HANDLE SendMessageDirect(const TCHAR *szMsg, MCONTACT hContact, char *szProto) if (sendBuffer == NULL)
return NULL;
+ if (db_mc_isMeta(hContact))
+ hContact = db_mc_getSrmmSub(hContact);
+
int sendId = CallContactService(hContact, PSS_MESSAGE, flags, (LPARAM)sendBuffer);
DBEVENTINFO dbei = { sizeof(dbei) };
|