mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Version 4.3: Fix build with Xcode.
This commit is contained in:
parent
29e30d2d00
commit
9e7a4e59a8
1 changed files with 2 additions and 2 deletions
|
@ -667,7 +667,7 @@ QString ApiWrap::exportDirectMessageLink(
|
||||||
auto linkItemId = item->id;
|
auto linkItemId = item->id;
|
||||||
auto linkCommentId = MsgId();
|
auto linkCommentId = MsgId();
|
||||||
auto linkThreadId = MsgId();
|
auto linkThreadId = MsgId();
|
||||||
auto linkThreadIsTopic = false;
|
//auto linkThreadIsTopic = false;
|
||||||
if (inRepliesContext) {
|
if (inRepliesContext) {
|
||||||
if (const auto rootId = item->replyToTop()) {
|
if (const auto rootId = item->replyToTop()) {
|
||||||
const auto root = item->history()->owner().message(
|
const auto root = item->history()->owner().message(
|
||||||
|
@ -689,7 +689,7 @@ QString ApiWrap::exportDirectMessageLink(
|
||||||
} else {
|
} else {
|
||||||
// Reply in a thread, maybe comment in a private channel.
|
// Reply in a thread, maybe comment in a private channel.
|
||||||
linkThreadId = rootId;
|
linkThreadId = rootId;
|
||||||
linkThreadIsTopic = (item->topicRootId() == rootId);
|
//linkThreadIsTopic = (item->topicRootId() == rootId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue