mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Fix custom emoji suggestions geometry.
This commit is contained in:
parent
bf339de773
commit
c8ec183c88
1 changed files with 1 additions and 0 deletions
|
@ -809,6 +809,7 @@ SuggestionsQuery SuggestionsController::getEmojiQuery() {
|
|||
} else if (format.isImageFormat()) {
|
||||
const auto imageName = format.toImageFormat().name();
|
||||
if (const auto emoji = Emoji::FromUrl(imageName)) {
|
||||
_queryStartPosition = position - 1;
|
||||
return emoji;
|
||||
}
|
||||
continue;
|
||||
|
|
Loading…
Add table
Reference in a new issue