From 15f72ca6c1667919c142163003fd8778755d0fdc Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 1 Nov 2022 12:03:42 +0400 Subject: [PATCH] Fix contact sharing to topics. --- Telegram/SourceFiles/api/api_common.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/api/api_common.cpp b/Telegram/SourceFiles/api/api_common.cpp index 2a819089d0..2fe4fa802b 100644 --- a/Telegram/SourceFiles/api/api_common.cpp +++ b/Telegram/SourceFiles/api/api_common.cpp @@ -16,7 +16,8 @@ SendAction::SendAction( SendOptions options) : history(thread->owningHistory()) , options(options) -, topicRootId(thread->topicRootId()) { +, replyTo(thread->topicRootId()) +, topicRootId(replyTo) { } } // namespace Api