mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix sending custom emoji based on Dice-type game emoji.
This commit is contained in:
parent
bc340d75c4
commit
08321b8d8b
1 changed files with 2 additions and 1 deletions
|
@ -231,7 +231,8 @@ bool SendDice(MessageToSend &message) {
|
|||
const auto full = QStringView(message.textWithTags.text).trimmed();
|
||||
auto length = 0;
|
||||
if (!Ui::Emoji::Find(full.data(), full.data() + full.size(), &length)
|
||||
|| length != full.size()) {
|
||||
|| length != full.size()
|
||||
|| !message.textWithTags.tags.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
auto &account = message.action.history->session().account();
|
||||
|
|
Loading…
Add table
Reference in a new issue