[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 committed by Eric Kotato
parent eaaed0850d
commit a00aa9a032

View file

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