[Improvement] Do not hide "open chat" button for own profile

This commit is contained in:
Eric Kotato 2022-09-11 06:16:19 +03:00
parent d5e7a4145a
commit a3791e5e31

View file

@ -583,6 +583,7 @@ Ui::MultiSlideTracker DetailsFiller::fillUserButtons(
tracker);
};
/*
if (user->isSelf()) {
auto separator = _wrap->add(object_ptr<Ui::SlideWrap<>>(
_wrap,
@ -598,8 +599,11 @@ Ui::MultiSlideTracker DetailsFiller::fillUserButtons(
std::move(tracker).atLeastOneShownValue()
);
} else {
*/
addSendMessageButton();
/*
}
*/
return tracker;
}