Close #341, update gallery comment post format
This commit is contained in:
1 parent
a56c79d4bb
commit
c81145d46e
1 file changed
+1
-2
@@ -370,8 +370,7 @@ public class EhEngine {
|
||||
public static GalleryComment[] commentGallery(@Nullable EhClient.Task task,
|
||||
OkHttpClient okHttpClient, String url, String comment) throws Exception {
|
||||
FormBody.Builder builder = new FormBody.Builder()
|
||||
.add("commenttext", comment)
|
||||
.add("postcomment", "Post New");
|
||||
.add("commenttext_new", comment);
|
||||
Log.d(TAG, url);
|
||||
Request request = new EhRequestBuilder(url, null != task ? task.getEhConfig() : Settings.getEhConfig())
|
||||
.post(builder.build())
|
||||
|
||||
Reference in new issue
Block a user