From 875ff1aeabc006fa8fd0f8dab388dd994734c326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Thu, 26 Dec 2013 13:05:52 +0000 Subject: Facebook: removed useless check (fixed in r7379) git-svn-id: http://svn.miranda-ng.org/main/trunk@7384 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/proto.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index 17332e3f63..834f096c3d 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -455,10 +455,6 @@ INT_PTR FacebookProto::OnMind(WPARAM wParam, LPARAM lParam) HANDLE hContact = reinterpret_cast(wParam); - // TODO: why isn't wParam == 0 when is status menu moved to main menu? - if (wParam != 0 && !IsMyContact(hContact)) - return 1; - wall_data *wall = new wall_data(); wall->user_id = ptrA(getStringA(hContact, FACEBOOK_KEY_ID)); wall->isPage = false; @@ -513,10 +509,6 @@ INT_PTR FacebookProto::VisitProfile(WPARAM wParam,LPARAM lParam) { HANDLE hContact = reinterpret_cast(wParam); - // TODO: why isn't wParam == 0 when is status menu moved to main menu? - if (wParam != 0 && !IsMyContact(hContact)) - return 1; - std::string url = FACEBOOK_URL_PROFILE; ptrA val(getStringA(hContact, "Homepage")); -- cgit v1.2.3