2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Handle nice topic / post-in-topic links.

This commit is contained in:
John Preston
2022-10-28 16:30:59 +04:00
parent 3078a94404
commit 18bf5c0ee2
17 changed files with 206 additions and 142 deletions

View File

@@ -412,7 +412,7 @@ object_ptr<Ui::RpWidget> DetailsFiller::setupInfo() {
} else {
const auto topicRootId = _topic ? _topic->rootId() : 0;
const auto addToLink = topicRootId
? "?topic=" + QString::number(topicRootId.bare)
? ('/' + QString::number(topicRootId.bare))
: QString();
auto linkText = LinkValue(
_peer,