Fix custom emoji copy from TextWithEntities to clipboard.
This commit is contained in:
parent
fbd82ff92b
commit
9604836ed9
1 changed files with 1 additions and 1 deletions
|
|
@ -2213,7 +2213,7 @@ TextWithTags::Tags ConvertEntitiesToTextTags(
|
|||
} break;
|
||||
case EntityType::CustomEmoji: {
|
||||
const auto match = QRegularExpression(
|
||||
"^(\\d+:\\d+)$"
|
||||
"^(\\d+)$"
|
||||
).match(entity.data());
|
||||
if (match.hasMatch()) {
|
||||
push(Ui::InputField::CustomEmojiLink(entity.data()));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue