mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Add send context menu to StickerSetBox.
This commit is contained in:
@@ -1067,8 +1067,18 @@ void MainWidget::inlineResultLoadFailed(FileLoader *loader, bool started) {
|
||||
//Ui::repaintInlineItem();
|
||||
}
|
||||
|
||||
SendMenu::Type MainWidget::sendMenuType() const {
|
||||
return _history->sendMenuType();
|
||||
}
|
||||
|
||||
bool MainWidget::sendExistingDocument(not_null<DocumentData*> document) {
|
||||
return _history->sendExistingDocument(document, Api::SendOptions());
|
||||
return sendExistingDocument(document, Api::SendOptions());
|
||||
}
|
||||
|
||||
bool MainWidget::sendExistingDocument(
|
||||
not_null<DocumentData*> document,
|
||||
Api::SendOptions options) {
|
||||
return _history->sendExistingDocument(document, options);
|
||||
}
|
||||
|
||||
void MainWidget::dialogsCancelled() {
|
||||
|
Reference in New Issue
Block a user