2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Generate old topic message links for now.

This commit is contained in:
John Preston
2022-11-05 17:47:41 +04:00
parent b5bba2e4e2
commit d58f312342

View File

@@ -701,7 +701,7 @@ QString ApiWrap::exportDirectMessageLink(
+ '/'
+ (linkCommentId
? (post + "?comment=" + QString::number(linkCommentId.bare))
: (linkThreadId && !linkThreadIsTopic)
: (linkThreadId/* && !linkThreadIsTopic*/)
? (post + "?thread=" + QString::number(linkThreadId.bare))
: linkThreadId
? (QString::number(linkThreadId.bare) + '/' + post)