2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Cancel reply when setting a forwarding draft.

This commit is contained in:
John Preston
2018-03-11 23:41:43 +03:00
parent b1cc7b25ba
commit 060cdfea86

View File

@@ -624,10 +624,8 @@ bool MainWidget::setForwardDraft(PeerId peerId, MessageIdsList &&items) {
}
App::history(peer)->setForwardDraft(std::move(items));
if (_history->peer() == peer) {
_history->cancelReply();
}
Ui::showPeerHistory(peer, ShowAtUnreadMsgId);
_history->cancelReply();
return true;
}