mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Show error when forwarding to slowmode group.
This commit is contained in:
@@ -810,8 +810,8 @@ QPointer<Ui::RpWidget> ShowForwardMessagesBox(
|
||||
Ui::Toast::Show(tr::lng_share_done(tr::now));
|
||||
});
|
||||
}
|
||||
} else {
|
||||
App::main()->setForwardDraft(peer->id, std::move(ids));
|
||||
} else if (!App::main()->setForwardDraft(peer->id, std::move(ids))) {
|
||||
return;
|
||||
}
|
||||
if (const auto strong = *weak) {
|
||||
strong->closeBox();
|
||||
|
Reference in New Issue
Block a user