From c48a7c9caaa656943dbcfcee069667f6a315fb5e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 27 Oct 2015 16:33:26 +0000 Subject: 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 --- protocols/FacebookRM/src/proto.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/FacebookRM') 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; -- cgit v1.2.3