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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user