mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Display peer IDs with delimeters.
This commit is contained in:
parent
b7f165a259
commit
f4abe37dff
1 changed files with 3 additions and 2 deletions
|
@ -172,8 +172,9 @@ base::options::toggle ShowPeerIdBelowAbout({
|
|||
}
|
||||
value.append(Italic(u"id: "_q));
|
||||
const auto raw = peer->id.value & PeerId::kChatTypeMask;
|
||||
const auto id = QString::number(raw);
|
||||
value.append(Link(Italic(id), "internal:copy:" + id));
|
||||
value.append(Link(
|
||||
Italic(Lang::FormatCountDecimal(raw)),
|
||||
"internal:copy:" + QString::number(raw)));
|
||||
return std::move(value);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue