mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Attempt to fix sending messages to broken topics.
This commit is contained in:
parent
39c1da6642
commit
f10f3c08de
1 changed files with 2 additions and 1 deletions
|
@ -3543,7 +3543,8 @@ void HistoryItem::createComponentsHelper(HistoryItemCommonFields &&fields) {
|
|||
const auto topicPost = config.reply.externalPeerId
|
||||
? (replyTo.topicRootId
|
||||
&& (replyTo.topicRootId != Data::ForumTopic::kGeneralId))
|
||||
: (LookupReplyIsTopicPost(to)
|
||||
: (topic
|
||||
|| LookupReplyIsTopicPost(to)
|
||||
|| (to && to->Has<HistoryServiceTopicInfo>())
|
||||
|| (forum && forum->creating(config.reply.topMessageId)));
|
||||
config.reply.topicPost = topicPost ? 1 : 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue