Implement editing comment

This commit is contained in:
seven332 committed 2019-05-08 11:29:59 +08:00
1 parent c9146324f8
commit 4064510b14
10 files changed
+77 -12

No files matched your search

@@ -422,10 +422,10 @@ public class EhEngine {
OkHttpClient okHttpClient, String url, String comment, String id) throws Throwable {
FormBody.Builder builder = new FormBody.Builder();
if (id == null) {
builder.add("commenttext_new", comment);
builder.add("commenttext_new", comment);
} else {
builder.add("commenttext_edit", comment);
builder.add("edit_comment", id);
builder.add("commenttext_edit", comment);
builder.add("edit_comment", id);
}
String origin = EhUrl.getOrigin();
Log.d(TAG, url);