mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Added Add-to-Emoji-Set submenu for custom emoji from foreign packs.
This commit is contained in:
@@ -1606,6 +1606,12 @@ void StickerSetBox::Inner::contextMenuEvent(QContextMenuEvent *e) {
|
||||
}
|
||||
}, &st::menuIconCopy);
|
||||
}
|
||||
if (!amSetCreator()) {
|
||||
Api::AddAddToEmojiSetAction(
|
||||
Ui::Menu::CreateAddActionCallback(_menu.get()),
|
||||
_show,
|
||||
_pack[index]);
|
||||
}
|
||||
} else if (details.type != SendMenu::Type::Disabled) {
|
||||
const auto document = _pack[index];
|
||||
const auto send = crl::guard(this, [=](Api::SendOptions options) {
|
||||
|
||||
Reference in New Issue
Block a user