mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Parse parent comments
This commit is contained in:
@ -25,7 +25,10 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
comments.ForEach(parent =>
|
||||
{
|
||||
if (parent.Id == child.ParentId)
|
||||
{
|
||||
parent.ChildComments.Add(child);
|
||||
child.ParentComment = parent;
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
@ -28,6 +28,8 @@ namespace osu.Game.Online.API.Requests.Responses
|
||||
|
||||
public List<Comment> ChildComments = new List<Comment>();
|
||||
|
||||
public Comment ParentComment { get; set; }
|
||||
|
||||
[JsonProperty(@"user_id")]
|
||||
public long UserId { get; set; }
|
||||
|
||||
|
Reference in New Issue
Block a user