diff options
author | George Hazan <george.hazan@gmail.com> | 2014-06-13 17:07:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-06-13 17:07:33 +0000 |
commit | f41c498aebfdfe3dfcabbda50363ea9278fe586b (patch) | |
tree | eb04995163bfb725849efc13b3407086d1427b96 /plugins/TabSRMM/src/mim.cpp | |
parent | 8b8368ee572b937ae5672e76af0544067a59421a (diff) |
tabSRMM to open subs as subs, metas as metas
git-svn-id: http://svn.miranda-ng.org/main/trunk@9462 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/mim.cpp')
-rw-r--r-- | plugins/TabSRMM/src/mim.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp index 3df8f93aaa..21e412c172 100644 --- a/plugins/TabSRMM/src/mim.cpp +++ b/plugins/TabSRMM/src/mim.cpp @@ -493,13 +493,8 @@ int CMimAPI::PrebuildContactMenu(WPARAM hContact, LPARAM lParam) int CMimAPI::DispatchNewEvent(WPARAM hContact, LPARAM lParam) { - if (hContact) { - HWND h = M.FindWindow(hContact); - if (h == NULL) - h = M.FindWindow(hContact = db_event_getContact((HANDLE)lParam)); - if (h) - PostMessage(h, HM_DBEVENTADDED, hContact, lParam); // was SENDMESSAGE !!! XXX - } + if (hContact) + M.BroadcastMessageAsync(HM_DBEVENTADDED, hContact, lParam); return 0; } |