mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 22:57:11 +02:00
Fix sending old topic messages.
This commit is contained in:
parent
080a8d7ee5
commit
e9a6bee046
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@ MTPInputReplyTo ReplyToForMTP(
|
|||
? replyingToTopic->rootId()
|
||||
: Data::ForumTopic::kGeneralId)
|
||||
: (to ? to->topicRootId() : Data::ForumTopic::kGeneralId);
|
||||
const auto replyToTopicId = to
|
||||
const auto replyToTopicId = (to
|
||||
&& (to->history() != history || to->id != replyingToTopicId))
|
||||
? to->topicRootId()
|
||||
: replyingToTopicId;
|
||||
const auto external = replyTo.messageId
|
||||
|
|
Loading…
Add table
Reference in a new issue