summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-12-26 13:05:52 +0000
committerRobert Pösel <robyer@seznam.cz>2013-12-26 13:05:52 +0000
commit875ff1aeabc006fa8fd0f8dab388dd994734c326 (patch)
treec04d57c24adfd91a3de909c3abc932c280c31d5b /protocols/FacebookRM/src
parent7cf7b91bba39bde2274b1e26c1b0ad18d45e4e1c (diff)
Facebook: removed useless check (fixed in r7379)
git-svn-id: http://svn.miranda-ng.org/main/trunk@7384 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src')
-rw-r--r--protocols/FacebookRM/src/proto.cpp8
1 files changed, 0 insertions, 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<HANDLE>(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<HANDLE>(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"));