[backend/akko-client] Fix reaction notifications for remote custom emoji
This commit is contained in:
parent
bcb6382c73
commit
7f4c95d7d0
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ public partial class EmojiService(
|
||||||
return emoji;
|
return emoji;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool IsCustomEmoji(string s) => CustomEmojiRegex().IsMatch(s);
|
public static bool IsCustomEmoji(string s) => CustomEmojiRegex().IsMatch(s) || RemoteCustomEmojiRegex().IsMatch(s);
|
||||||
|
|
||||||
[GeneratedRegex(@"^:?([\w+-]+)(?:@\.)?:?$", RegexOptions.Compiled)]
|
[GeneratedRegex(@"^:?([\w+-]+)(?:@\.)?:?$", RegexOptions.Compiled)]
|
||||||
private static partial Regex CustomEmojiRegex();
|
private static partial Regex CustomEmojiRegex();
|
||||||
|
|
Loading…
Add table
Reference in a new issue