summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/contacts.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-22 00:55:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-22 00:57:16 +0300
commitd28931ebdfc4ff561d05ab000aee4cbb5ac24d62 (patch)
treee5cfd83eb231df123a3d744106a4e9b521fba409 /protocols/FacebookRM/src/contacts.cpp
parent921f870dd0feec3230a8634abbd85c556e9f3d22 (diff)
OnEvent(EV_PROTO_ONCONTACTDELETED) => PROTO_INTERFACE::OnContactDeleted
Diffstat (limited to 'protocols/FacebookRM/src/contacts.cpp')
-rw-r--r--protocols/FacebookRM/src/contacts.cpp3
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;
}