mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Merge branch 'master' into post-metadata
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user