diff options
Diffstat (limited to 'protocols')
-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; |