Don't show emoji tooltip in reactions / statuses.

This commit is contained in:
John Preston 2022-09-12 09:46:23 +04:00
parent 7c8d3452b5
commit ffaeb239f0
1 changed files with 3 additions and 0 deletions

View File

@ -1515,6 +1515,9 @@ void EmojiListWidget::setAllowWithoutPremium(bool allow) {
}
QString EmojiListWidget::tooltipText() const {
if (_mode != Mode::Full) {
return {};
}
const auto &replacements = Ui::Emoji::internal::GetAllReplacements();
const auto over = std::get_if<OverEmoji>(&_selected);
if (const auto emoji = lookupOverEmoji(over)) {