diff options
author | George Hazan <ghazan@miranda.im> | 2020-03-03 21:46:35 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-03-03 21:46:35 +0300 |
commit | 4a18c4e02bbe291db8fc7c58ed565fa8afe6725f (patch) | |
tree | 05dee5ca2e5e0f47b74c1806d4dd1411a011cb2a /plugins/Scriver/src | |
parent | f45fe1fb7de629676f00809b6b3d76babd5941f8 (diff) |
HM_DBEVENTADDED to be delayed, instead of sending it immediately
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index b943a7a5f1..e62066b396 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -88,7 +88,7 @@ static int MessageEventAdded(WPARAM hContact, LPARAM lParam) if (hwnd == nullptr)
hwnd = Srmm_FindWindow(hContactWnd = db_event_getContact(hDbEvent));
if (hwnd)
- SendMessage(hwnd, HM_DBEVENTADDED, hContactWnd, lParam);
+ ::PostMessage(hwnd, HM_DBEVENTADDED, hContactWnd, lParam);
DBEVENTINFO dbei = {};
db_event_get(hDbEvent, &dbei);
|