mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Allow viewing emoji packs from comments / scheduled.
This commit is contained in:
parent
85ec212220
commit
c8aacbdb9f
1 changed files with 10 additions and 0 deletions
|
@ -1005,6 +1005,16 @@ base::unique_qptr<Ui::PopupMenu> FillContextMenu(
|
|||
AddCopyLinkAction(result, link);
|
||||
AddMessageActions(result, request, list);
|
||||
|
||||
auto emojiPackIds = item
|
||||
? CollectEmojiPacks(item)
|
||||
: std::vector<StickerSetIdentifier>();
|
||||
if (!emojiPackIds.empty()) {
|
||||
AddEmojiPacksAction(
|
||||
result,
|
||||
list,
|
||||
std::move(emojiPackIds),
|
||||
list->controller());
|
||||
}
|
||||
if (hasWhoReactedItem) {
|
||||
AddWhoReactedAction(result, list, item, list->controller());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue