mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Allow delete / forward selected in shared media.
Also use PeerListBox with a chats list with global search controller instead of HistoryHider for forward / share contact.
This commit is contained in:
@@ -677,7 +677,7 @@ bool MainWidget::setForwardDraft(PeerId peerId, const SelectedItemSet &items) {
|
||||
auto peer = App::peer(peerId);
|
||||
auto error = GetErrorTextForForward(peer, items);
|
||||
if (!error.isEmpty()) {
|
||||
Ui::show(Box<InformBox>(error));
|
||||
Ui::show(Box<InformBox>(error), LayerOption::KeepOther);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user