From ceeb2257878b17ebda20f8f3eea72ae2de598fb4 Mon Sep 17 00:00:00 2001
From: ElzorFox <elzorfox@ya.ru>
Date: Thu, 7 Dec 2023 14:33:28 +0500
Subject: VKontakte: this menu item always show

---
 protocols/VKontakte/src/vk_proto.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'protocols')

diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index 6b90beaefb..0fb74bf1d9 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -422,10 +422,10 @@ int CVkProto::OnPreBuildContactMenu(WPARAM hContact, LPARAM)
 
 int CVkProto::OnPrebuildNSMenu(WPARAM hContact, LPARAM lParam)
 {
-	if (!Proto_IsProtoOnContact(hContact, m_szModuleName)) {
+	Menu_ShowItem(m_hNewStoryMenuItems[NSMI_FORWARD], true);
+	
+	if (!Proto_IsProtoOnContact(hContact, m_szModuleName)) 
 		Menu_ShowItem(m_hNewStoryMenuItems[NSMI_REPLY], false);
-		Menu_ShowItem(m_hNewStoryMenuItems[NSMI_FORWARD], true);
-	}
 	else {
 		auto* pDbei = (DB::EventInfo *)lParam;
 		Menu_ShowItem(m_hNewStoryMenuItems[NSMI_REPLY], mir_strlen(pDbei->szId) > 0 && !Contact::IsReadonly(hContact));
-- 
cgit v1.2.3