Fix custom emoji copy from TextWithEntities to clipboard.

This commit is contained in:
John Preston 2022-08-15 15:13:28 +03:00
parent fbd82ff92b
commit 9604836ed9

View file

@ -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()));