From 8f2e15dbd230571a54cb564bd75a8f2d52f010cb Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Sun, 11 Sep 2022 06:16:19 +0300 Subject: [PATCH] [Improvement] Do not hide "open chat" button for own profile --- Telegram/SourceFiles/info/profile/info_profile_actions.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp index c3481b266..a6c2ec300 100644 --- a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp +++ b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp @@ -1806,6 +1806,7 @@ Ui::MultiSlideTracker DetailsFiller::fillUserButtons( tracker); }; + /* if (user->isSelf()) { auto separator = _wrap->add(object_ptr>( _wrap, @@ -1821,8 +1822,11 @@ Ui::MultiSlideTracker DetailsFiller::fillUserButtons( std::move(tracker).atLeastOneShownValue() ); } else { + */ addSendMessageButton(); + /* } + */ addReportReaction(tracker);