2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +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:
John Preston
2017-10-20 19:19:42 +03:00
parent 7b69282c7e
commit be5f4c9a71
24 changed files with 508 additions and 47 deletions

View File

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