From 9e7a4e59a8eeb893fa30a2dcb00509f5d03d2922 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 5 Nov 2022 19:11:38 +0400 Subject: [PATCH] Version 4.3: Fix build with Xcode. --- Telegram/SourceFiles/apiwrap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/apiwrap.cpp b/Telegram/SourceFiles/apiwrap.cpp index 4034a7edc..22efe9e3a 100644 --- a/Telegram/SourceFiles/apiwrap.cpp +++ b/Telegram/SourceFiles/apiwrap.cpp @@ -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); } } }