mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-04 04:04:18 +00:00 
			
		
		
		
	Can create surveys
This commit is contained in:
		@@ -158,6 +158,11 @@ class PostsHelper {
 | 
			
		||||
            "time-end", (post.timeEnd.millisecondsSinceEpoch / 1000).floor());
 | 
			
		||||
        break;
 | 
			
		||||
 | 
			
		||||
      case PostKind.SURVEY:
 | 
			
		||||
        request.addString("question", post.survey.question);
 | 
			
		||||
        request.addString("answers", post.survey.answers.join("<>"));
 | 
			
		||||
        break;
 | 
			
		||||
 | 
			
		||||
      default:
 | 
			
		||||
        throw Exception("Unsupported post type :" + post.kind.toString());
 | 
			
		||||
        break;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user