Handle links correctly and don't re-open profile if the user is same.

This commit is contained in:
naoey
2018-02-26 00:58:20 +05:30
parent bb40919f9c
commit 75fdca928e
3 changed files with 9 additions and 6 deletions

View File

@ -210,13 +210,13 @@ namespace osu.Game.Online.Chat
return inputMessage;
}
public static List<Link> GetLinks(string text)
public static MessageFormatterResult FormatText(string text)
{
var result = format(text);
result.Links.Sort();
return result.Links;
return result;
}
public class MessageFormatterResult