mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Cancel reply when setting a forwarding draft.
This commit is contained in:
parent
b1cc7b25ba
commit
060cdfea86
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue