mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Don't allow custom emoji pseudo-links in EditLink.
This commit is contained in:
@@ -623,8 +623,7 @@ void MessageLinksParser::parse() {
|
||||
Expects(tag != tagsEnd);
|
||||
|
||||
if (Ui::InputField::IsValidMarkdownLink(tag->id)
|
||||
&& !TextUtilities::IsMentionLink(tag->id)
|
||||
&& !Ui::InputField::IsCustomEmojiLink(tag->id)) {
|
||||
&& !TextUtilities::IsMentionLink(tag->id)) {
|
||||
ranges.push_back({ tag->offset, tag->length, tag->id });
|
||||
}
|
||||
++tag;
|
||||
|
Submodule Telegram/lib_ui updated: 9604836ed9...2f5d5e0e79
Reference in New Issue
Block a user