Merge branch 'master' into post-metadata

This commit is contained in:
Harrison Healey
2018-11-16 09:34:35 -05:00
10 changed files with 294 additions and 41 deletions

View File

@@ -605,7 +605,7 @@ func (a *App) DeleteFlaggedPosts(postId string) {
}
func (a *App) DeletePostFiles(post *model.Post) {
if len(post.FileIds) != 0 {
if len(post.FileIds) == 0 {
return
}