mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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