Open Web App: Check bot trusted when open from chat badge (#5618)
This commit is contained in:
parent
ae4fc89058
commit
76190b9f83
@ -104,7 +104,6 @@ const ChatBadge: FC<OwnProps> = ({
|
|||||||
botId: chat.id,
|
botId: chat.id,
|
||||||
peerId: chat.id,
|
peerId: chat.id,
|
||||||
theme,
|
theme,
|
||||||
shouldMarkBotTrusted: true,
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -91,7 +91,6 @@ const LeftSearchResultChat: FC<OwnProps & StateProps> = ({
|
|||||||
botId: chatId,
|
botId: chatId,
|
||||||
peerId: chatId,
|
peerId: chatId,
|
||||||
theme,
|
theme,
|
||||||
shouldMarkBotTrusted: true,
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user