mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Attempt to fix sending messages to broken topics.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user