From 78df19f4e46e050227890b802bf8c3a9f1ca9c14 Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Tue, 20 Apr 2021 13:15:09 +0300 Subject: [PATCH] Remove unnecessary separator in 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 7bb8c85dd..d537fe1e3 100644 --- a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp +++ b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp @@ -540,6 +540,7 @@ Ui::MultiSlideTracker DetailsFiller::fillUserButtons( tracker); }; + /* if (user->isSelf()) { auto separator = _wrap->add(object_ptr>( _wrap, @@ -555,8 +556,11 @@ Ui::MultiSlideTracker DetailsFiller::fillUserButtons( std::move(tracker).atLeastOneShownValue() ); } else { + */ addSendMessageButton(); + /* } + */ return tracker; }