diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-22 00:55:51 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-22 00:57:16 +0300 |
commit | d28931ebdfc4ff561d05ab000aee4cbb5ac24d62 (patch) | |
tree | e5cfd83eb231df123a3d744106a4e9b521fba409 /protocols/FacebookRM/src/contacts.cpp | |
parent | 921f870dd0feec3230a8634abbd85c556e9f3d22 (diff) |
OnEvent(EV_PROTO_ONCONTACTDELETED) => PROTO_INTERFACE::OnContactDeleted
Diffstat (limited to 'protocols/FacebookRM/src/contacts.cpp')
-rw-r--r-- | protocols/FacebookRM/src/contacts.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/contacts.cpp b/protocols/FacebookRM/src/contacts.cpp index 7ebd189b9d..e3b1bd553a 100644 --- a/protocols/FacebookRM/src/contacts.cpp +++ b/protocols/FacebookRM/src/contacts.cpp @@ -553,7 +553,7 @@ HANDLE FacebookProto::GetAwayMsg(MCONTACT) return nullptr; // Status messages are disabled } -int FacebookProto::OnContactDeleted(WPARAM hContact, LPARAM) +void FacebookProto::OnContactDeleted(MCONTACT hContact) { // Remove this contact from caches ptrA id(getStringA(hContact, FACEBOOK_KEY_ID)); @@ -572,7 +572,6 @@ int FacebookProto::OnContactDeleted(WPARAM hContact, LPARAM) // Cancel friendship (with confirmation) CancelFriendship(hContact, 1); - return 0; } |