mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Fix fast reply from message corner in Replies section.
This commit is contained in:
@@ -534,8 +534,9 @@ bool MainWidget::shareUrl(
|
||||
}
|
||||
|
||||
void MainWidget::replyToItem(not_null<HistoryItem*> item) {
|
||||
if (_history->peer() == item->history()->peer
|
||||
|| _history->peer() == item->history()->peer->migrateTo()) {
|
||||
if ((!_mainSection || !_mainSection->replyToMessage(item))
|
||||
&& (_history->peer() == item->history()->peer
|
||||
|| _history->peer() == item->history()->peer->migrateTo())) {
|
||||
_history->replyToMessage(item);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user