summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/mim.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-09 15:00:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-09 15:00:10 +0000
commitad0169e0110232390474d23274bdc5dc2d385a9a (patch)
tree244d8c2a7d6d9db8d5fc2562003f4aec3d053c8a /plugins/TabSRMM/src/mim.cpp
parenta23d6936522260197b5b3b13e468c1cddd6d8ed8 (diff)
- unused variables wiped out of tabSRMM
- enhanced mc support git-svn-id: http://svn.miranda-ng.org/main/trunk@8503 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/mim.cpp')
-rw-r--r--plugins/TabSRMM/src/mim.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp
index c87d4aec9b..e858d37ff3 100644
--- a/plugins/TabSRMM/src/mim.cpp
+++ b/plugins/TabSRMM/src/mim.cpp
@@ -439,8 +439,12 @@ int CMimAPI::ProtoAck(WPARAM wParam, LPARAM lParam)
SendJob *jobs = sendQueue->getJobByIndex(0);
if (pAck->type == ACKTYPE_MESSAGE) {
+ MCONTACT hOwner = db_mc_getMeta(pAck->hContact);
+ if (hOwner == 0)
+ hOwner = pAck->hContact;
+
for (j = 0; j < SendQueue::NR_SENDJOBS; j++) {
- if (pAck->hProcess == jobs[j].hSendId && pAck->hContact == jobs[j].hOwner) {
+ if (pAck->hProcess == jobs[j].hSendId && hOwner == jobs[j].hOwner) {
TWindowData *dat = jobs[j].hwndOwner ? (TWindowData*)GetWindowLongPtr(jobs[j].hwndOwner, GWLP_USERDATA) : NULL;
if (dat) {
if (dat->hContact == jobs[j].hOwner) {