mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:35:35 +08:00
Parse emoji to an empty string
This commit is contained in:
parent
b05ba8c501
commit
d62cfc1616
@ -256,6 +256,9 @@ namespace osu.Game.Online.Chat
|
||||
|
||||
private static MessageFormatterResult format(string toFormat, int startIndex = 0, int space = 3)
|
||||
{
|
||||
// see: https://github.com/ppy/osu/pull/24190
|
||||
toFormat = Regex.Replace(toFormat, emoji_regex.ToString(), string.Empty);
|
||||
|
||||
var result = new MessageFormatterResult(toFormat);
|
||||
|
||||
// handle the [link display] format
|
||||
|
Loading…
Reference in New Issue
Block a user