mirror of https://github.com/ppy/osu
Handle parent usernames for legacy comments
This commit is contained in:
parent
0a56b041fd
commit
a0dfbfe148
|
@ -281,7 +281,7 @@ public ParentUsername(Comment comment)
|
|||
new SpriteText
|
||||
{
|
||||
Font = OsuFont.GetFont(size: 14, weight: FontWeight.Bold, italics: true),
|
||||
Text = comment.ParentComment?.User?.Username
|
||||
Text = comment.ParentComment?.User?.Username ?? comment.ParentComment?.LegacyName
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue