Display group / channel id in profile.

This commit is contained in:
John Preston 2023-11-02 16:44:20 +04:00
parent d031046edb
commit 8ebf329cd9
1 changed files with 4 additions and 4 deletions

View File

@ -558,11 +558,11 @@ object_ptr<Ui::RpWidget> DetailsFiller::setupInfo() {
).text->setLinksTrusted();
}
const auto about = addInfoLine(
tr::lng_info_about_label(),
_topic ? rpl::single(TextWithEntities()) : AboutValue(_peer));
const auto about = addInfoLine(tr::lng_info_about_label(), _topic
? rpl::single(TextWithEntities())
: AboutWithIdValue(_peer));
if (!_topic) {
addTranslateToMenu(about.text, AboutValue(_peer));
addTranslateToMenu(about.text, AboutWithIdValue(_peer));
}
}
if (!_peer->isSelf()) {