Create movie type

This commit is contained in:
Pierre 2018-02-19 16:17:29 +01:00
parent 9662015b3a
commit dd28045fc7
2 changed files with 9 additions and 0 deletions

View File

@ -19,6 +19,11 @@ public enum PostTypes {
*/
IMAGE,
/**
* Movie
*/
MOVIE,
/**
* Unknown type
*/

View File

@ -115,6 +115,10 @@ public class PostsHelper {
post.setType(PostTypes.IMAGE);
break;
case "movie":
post.setType(PostTypes.MOVIE);
break;
default:
post.setType(PostTypes.UNKNOWN);