Accept in_reply_to to thread inline comments

The in_reply_to field supplies the id of another comment, enabling
threading. Because id is URL encoded to match a REST API we also
encode the in_reply_to field, allowing clients to correctly line up
messages by simple string equality.

Change-Id: Idc6af51873b9b8a12707c6f4df9d25b627e8b409
This commit is contained in:
Shawn O. Pearce
2012-11-23 19:46:40 -08:00
parent abaa4d9578
commit 04a17cfa75
6 changed files with 40 additions and 17 deletions

View File

@@ -185,4 +185,8 @@ public final class PatchLineComment {
public String getParentUuid() {
return parentUuid;
}
public void setParentUuid(String inReplyTo) {
parentUuid = inReplyTo;
}
}