diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-05-12 02:54:45 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-05-12 02:54:45 +0000 |
commit | f3dc4c3fdad73e3a10d9507bd696294cfe21f4e9 (patch) | |
tree | e36f9ebd98a7995be26679e859451672d43c12d7 /protocols/VKontakte | |
parent | 4799a349a92828eb8f4f1c4735828e977a984f75 (diff) |
VKontakte: fix 'visit profile' for feed user
git-svn-id: http://svn.miranda-ng.org/main/trunk@13560 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index 33cb2da12e..d5649f806d 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -356,7 +356,7 @@ int CVkProto::OnPreBuildContactMenu(WPARAM hContact, LPARAM) LONG userID = getDword(hContact, "ID", -1);
bool bisFriend = (getByte(hContact, "Auth", -1) == 0);
bool bisBroadcast = !(IsEmpty(ptrT(db_get_tsa(hContact, m_szModuleName, "AudioUrl"))));
- Menu_ShowItem(g_hContactMenuItems[CMI_VISITPROFILE], !isChatRoom(hContact));
+ Menu_ShowItem(g_hContactMenuItems[CMI_VISITPROFILE], !isChatRoom(hContact) && userID != VK_FEED_USER);
Menu_ShowItem(g_hContactMenuItems[CMI_WALLPOST], !isChatRoom(hContact));
Menu_ShowItem(g_hContactMenuItems[CMI_ADDASFRIEND], !bisFriend && !isChatRoom(hContact) && userID != VK_FEED_USER);
Menu_ShowItem(g_hContactMenuItems[CMI_DELETEFRIEND], bisFriend && userID != VK_FEED_USER);
|