mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix possible crash in topic replies.
This commit is contained in:
parent
ebcd4eb97b
commit
a7090c5fba
1 changed files with 1 additions and 0 deletions
|
@ -3355,6 +3355,7 @@ void HistoryItem::createComponentsHelper(
|
|||
: nullptr;
|
||||
if (!config.reply.externalPeerId
|
||||
&& topic
|
||||
&& to
|
||||
&& topic->rootId() != to->topicRootId()) {
|
||||
config.reply.externalPeerId = replyTo.messageId.peer;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue