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
1 changed files with 1 additions and 3 deletions

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;
}