summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-05-04 21:52:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-05-04 21:52:44 +0000
commit160870dcf08dce46b6433670ebc0321ad0679243 (patch)
tree7abb922065ef93fd7dc5357f4c2c9e2a05b5ef7c /plugins
parentf7a344dab108224cc2dcb1e39eba5b41efcadefd (diff)
missing check for subs added
git-svn-id: http://svn.miranda-ng.org/main/trunk@9131 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TabSRMM/src/msgs.cpp3
1 files changed, 3 insertions, 0 deletions
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)