From 160870dcf08dce46b6433670ebc0321ad0679243 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 4 May 2014 21:52:44 +0000 Subject: missing check for subs added git-svn-id: http://svn.miranda-ng.org/main/trunk@9131 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/msgs.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins') diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp index b8fb252fbc..924a355aa3 100644 --- a/plugins/TabSRMM/src/msgs.cpp +++ b/plugins/TabSRMM/src/msgs.cpp @@ -285,6 +285,9 @@ INT_PTR SendMessageCommand_W(WPARAM hContact, LPARAM lParam) return 0; } + if (db_mc_isSub(hContact)) + hContact = db_mc_getMeta(hContact); + // does the MCONTACT's protocol support IM messages? char *szProto = GetContactProto(hContact); if (szProto == NULL) -- cgit v1.2.3