mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Display group / channel id in profile.
This commit is contained in:
parent
d031046edb
commit
8ebf329cd9
1 changed files with 4 additions and 4 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue