mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Implement temp fix to get the actual message
This commit is contained in:
@ -76,5 +76,11 @@ namespace osu.Game.Online.API.Requests.Responses
|
|||||||
public bool IsTopLevel { get; set; }
|
public bool IsTopLevel { get; set; }
|
||||||
|
|
||||||
public bool IsDeleted { get; set; }
|
public bool IsDeleted { get; set; }
|
||||||
|
|
||||||
|
public string GetMessage()
|
||||||
|
{
|
||||||
|
//temporary fix until HTML parsing will be implemented
|
||||||
|
return MessageHTML.Remove(MessageHTML.LastIndexOf("</p>")).Substring(65);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -107,7 +107,7 @@ namespace osu.Game.Overlays
|
|||||||
{
|
{
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
Text = comment.MessageHTML,
|
Text = comment.GetMessage(),
|
||||||
},
|
},
|
||||||
new Container
|
new Container
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user