diff options
author | George Hazan <george.hazan@gmail.com> | 2015-10-27 16:33:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-10-27 16:33:26 +0000 |
commit | c48a7c9caaa656943dbcfcee069667f6a315fb5e (patch) | |
tree | e3d570030ed5e590437afbda3251dab4a0acca62 | |
parent | 9741b5f6bd0364724f6b8a6a2c414192d3a7e7eb (diff) |
private messages in Facebook aren't marked as read if a contact is a sub in metacontact
git-svn-id: http://svn.miranda-ng.org/main/trunk@15625 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index 38c89ed0de..da175d799a 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -565,9 +565,9 @@ INT_PTR FacebookProto::OnMind(WPARAM wParam, LPARAM) return 0; } -int FacebookProto::OnDbEventRead(WPARAM wParam, LPARAM) +int FacebookProto::OnDbEventRead(WPARAM, LPARAM lParam) { - MCONTACT hContact = (MCONTACT)wParam; + MCONTACT hContact = db_event_getContact((MEVENT)lParam); if (isOffline() || !IsMyContact(hContact, false)) // ignore chats return 0; |