1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Allow to create new choices on survey on its creation

This commit is contained in:
2020-05-18 17:58:54 +02:00
parent ef0ae2a586
commit b4465cc70c
3 changed files with 23 additions and 4 deletions

View File

@ -165,6 +165,7 @@ class PostsHelper {
case PostKind.SURVEY:
request.addString("question", post.survey.question);
request.addString("answers", post.survey.answers.join("<>"));
request.addBool("allowNewAnswers", post.survey.allowNewChoicesCreation);
break;
case PostKind.YOUTUBE: