From 6a9c5818ba0b327dec994fcfc1da8222aea30a70 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 31 Jan 2022 16:17:58 +0300 Subject: [PATCH] Show go-to-user buttons in t.me links preview. --- Telegram/SourceFiles/history/view/history_view_view_button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/view/history_view_view_button.cpp b/Telegram/SourceFiles/history/view/history_view_view_button.cpp index 5e0d2cb4cd..7d722b8692 100644 --- a/Telegram/SourceFiles/history/view/history_view_view_button.cpp +++ b/Telegram/SourceFiles/history/view/history_view_view_button.cpp @@ -107,7 +107,7 @@ bool ViewButton::MediaHasViewButton( || (type == WebPageType::Group) || (type == WebPageType::Channel) // || (type == WebPageType::Bot) - // || (type == WebPageType::User) + || (type == WebPageType::User) || (type == WebPageType::VoiceChat) || (type == WebPageType::Livestream) || ((type == WebPageType::Theme)