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

Version 4.3: Fix build with Xcode.

This commit is contained in:
John Preston
2022-11-05 19:11:38 +04:00
parent 29e30d2d00
commit 9e7a4e59a8

View File

@@ -667,7 +667,7 @@ QString ApiWrap::exportDirectMessageLink(
auto linkItemId = item->id;
auto linkCommentId = MsgId();
auto linkThreadId = MsgId();
auto linkThreadIsTopic = false;
//auto linkThreadIsTopic = false;
if (inRepliesContext) {
if (const auto rootId = item->replyToTop()) {
const auto root = item->history()->owner().message(
@@ -689,7 +689,7 @@ QString ApiWrap::exportDirectMessageLink(
} else {
// Reply in a thread, maybe comment in a private channel.
linkThreadId = rootId;
linkThreadIsTopic = (item->topicRootId() == rootId);
//linkThreadIsTopic = (item->topicRootId() == rootId);
}
}
}