
isOnParent on a thread is only used to set the side value when storing new drafts on the server. All comments of a thread can be assumed to have the same side set. So when adding a new draft to an existing thread, we can determine isOnParent just by looking at the first comment's side value. If side is not set, it defaults to REVISION: https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#comment-info Change-Id: I80ff9460e9869705c3416cdb52bca17b2faf54d4