mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Update UiIntegration for custom emoji.
This commit is contained in:
parent
368bc283a1
commit
bbfcac26c9
3 changed files with 10 additions and 1 deletions
Telegram
|
@ -237,7 +237,13 @@ bool UiIntegration::handleUrlClick(
|
|||
File::OpenUrl(UrlWithAutoLoginToken(url, std::move(parsed), domain));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
std::unique_ptr<Ui::Text::CustomEmoji> UiIntegration::createCustomEmoji(
|
||||
const QString &data,
|
||||
const std::any &context) {
|
||||
const auto my = std::any_cast<MarkedTextContext>(&context);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
rpl::producer<> UiIntegration::forcePopupMenuHideRequests() {
|
||||
|
|
|
@ -56,6 +56,9 @@ public:
|
|||
QString convertTagToMimeTag(const QString &tagId) override;
|
||||
const Ui::Emoji::One *defaultEmojiVariant(
|
||||
const Ui::Emoji::One *emoji) override;
|
||||
std::unique_ptr<Ui::Text::CustomEmoji> createCustomEmoji(
|
||||
const QString &data,
|
||||
const std::any &context) override;
|
||||
|
||||
QString phraseContextCopyText() override;
|
||||
QString phraseContextCopyEmail() override;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit db2638cf607be96ba121a3ef180e87d533abd613
|
||||
Subproject commit 187110f43820a70d20b77e4063286b692d53294d
|
Loading…
Add table
Reference in a new issue