From 76190b9f83aea7a15d3e703ac813339ad9b8d8ea Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Thu, 13 Feb 2025 14:28:15 +0100 Subject: [PATCH] Open Web App: Check bot trusted when open from chat badge (#5618) --- src/components/left/main/ChatBadge.tsx | 1 - src/components/left/search/LeftSearchResultChat.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/src/components/left/main/ChatBadge.tsx b/src/components/left/main/ChatBadge.tsx index 73adf7744..7f6d3baf0 100644 --- a/src/components/left/main/ChatBadge.tsx +++ b/src/components/left/main/ChatBadge.tsx @@ -104,7 +104,6 @@ const ChatBadge: FC = ({ botId: chat.id, peerId: chat.id, theme, - shouldMarkBotTrusted: true, }); }); diff --git a/src/components/left/search/LeftSearchResultChat.tsx b/src/components/left/search/LeftSearchResultChat.tsx index bdcfc927e..dc6f92298 100644 --- a/src/components/left/search/LeftSearchResultChat.tsx +++ b/src/components/left/search/LeftSearchResultChat.tsx @@ -91,7 +91,6 @@ const LeftSearchResultChat: FC = ({ botId: chatId, peerId: chatId, theme, - shouldMarkBotTrusted: true, }); });