mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix possible crash in topic replies.
This commit is contained in:
@@ -3355,6 +3355,7 @@ void HistoryItem::createComponentsHelper(
|
||||
: nullptr;
|
||||
if (!config.reply.externalPeerId
|
||||
&& topic
|
||||
&& to
|
||||
&& topic->rootId() != to->topicRootId()) {
|
||||
config.reply.externalPeerId = replyTo.messageId.peer;
|
||||
}
|
||||
|
Reference in New Issue
Block a user