mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Remove for-development-only save document action.
Regression was introduced in 205479fccc
.
This commit is contained in:
parent
b8ce79467f
commit
d9ed3a7d3f
1 changed files with 0 additions and 13 deletions
|
@ -7,7 +7,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
*/
|
||||
#include "history/history_inner_widget.h"
|
||||
|
||||
#include "chat_helpers/stickers_emoji_pack.h"
|
||||
#include "core/file_utilities.h"
|
||||
#include "core/click_handler_types.h"
|
||||
#include "history/history_item_helpers.h"
|
||||
|
@ -33,7 +32,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
#include "ui/effects/message_sending_animation_controller.h"
|
||||
#include "ui/effects/reaction_fly_animation.h"
|
||||
#include "ui/text/text_options.h"
|
||||
#include "ui/text/text_isolated_emoji.h"
|
||||
#include "ui/boxes/report_box.h"
|
||||
#include "ui/layers/generic_box.h"
|
||||
#include "ui/controls/delete_message_context_action.h"
|
||||
|
@ -2251,17 +2249,6 @@ void HistoryInner::showContextMenu(QContextMenuEvent *e, bool showFromTouch) {
|
|||
}
|
||||
};
|
||||
|
||||
if (const auto item = _dragStateItem) {
|
||||
const auto emojiStickers = &session->emojiStickersPack();
|
||||
if (const auto view = item->mainView()) {
|
||||
if (const auto isolated = view->isolatedEmoji()) {
|
||||
if (const auto sticker = emojiStickers->stickerForEmoji(isolated)) {
|
||||
addDocumentActions(sticker.document, item);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const auto asGroup = !Element::Moused()
|
||||
|| (Element::Moused() != Element::Hovered())
|
||||
|| (Element::Moused()->pointState(
|
||||
|
|
Loading…
Add table
Reference in a new issue