Display group / channel id in profile.
This commit is contained in:
parent
d031046edb
commit
8ebf329cd9
|
@ -558,11 +558,11 @@ object_ptr<Ui::RpWidget> DetailsFiller::setupInfo() {
|
||||||
).text->setLinksTrusted();
|
).text->setLinksTrusted();
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto about = addInfoLine(
|
const auto about = addInfoLine(tr::lng_info_about_label(), _topic
|
||||||
tr::lng_info_about_label(),
|
? rpl::single(TextWithEntities())
|
||||||
_topic ? rpl::single(TextWithEntities()) : AboutValue(_peer));
|
: AboutWithIdValue(_peer));
|
||||||
if (!_topic) {
|
if (!_topic) {
|
||||||
addTranslateToMenu(about.text, AboutValue(_peer));
|
addTranslateToMenu(about.text, AboutWithIdValue(_peer));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!_peer->isSelf()) {
|
if (!_peer->isSelf()) {
|
||||||
|
|
Loading…
Reference in New Issue