Removed unused MainWidget::sendExistingDocument.

This commit is contained in:
23rd 2024-08-22 16:16:24 +03:00
parent 5020aec6ec
commit f0209c9d6e
2 changed files with 0 additions and 14 deletions

View file

@ -1061,16 +1061,6 @@ SendMenu::Details MainWidget::sendMenuDetails() const {
return _history->sendMenuDetails();
}
bool MainWidget::sendExistingDocument(not_null<DocumentData*> document) {
return sendExistingDocument(document, {});
}
bool MainWidget::sendExistingDocument(
not_null<DocumentData*> document,
Api::SendOptions options) {
return _history->sendExistingDocument(document, options);
}
void MainWidget::dialogsCancelled() {
if (_hider) {
_hider->startHide();

View file

@ -158,10 +158,6 @@ public:
void checkMainSectionToLayer();
[[nodiscard]] SendMenu::Details sendMenuDetails() const;
bool sendExistingDocument(not_null<DocumentData*> document);
bool sendExistingDocument(
not_null<DocumentData*> document,
Api::SendOptions options);
[[nodiscard]] bool animatingShow() const;