mirror of https://github.com/procxx/kepka.git
Cancel reply when setting a forwarding draft.
This commit is contained in:
parent
b1cc7b25ba
commit
060cdfea86
|
@ -624,10 +624,8 @@ bool MainWidget::setForwardDraft(PeerId peerId, MessageIdsList &&items) {
|
||||||
}
|
}
|
||||||
|
|
||||||
App::history(peer)->setForwardDraft(std::move(items));
|
App::history(peer)->setForwardDraft(std::move(items));
|
||||||
if (_history->peer() == peer) {
|
|
||||||
_history->cancelReply();
|
|
||||||
}
|
|
||||||
Ui::showPeerHistory(peer, ShowAtUnreadMsgId);
|
Ui::showPeerHistory(peer, ShowAtUnreadMsgId);
|
||||||
|
_history->cancelReply();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue