diff options
Diffstat (limited to 'app/post.go')
-rw-r--r-- | app/post.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/post.go b/app/post.go index dd8712e85..da4aa506b 100644 --- a/app/post.go +++ b/app/post.go @@ -166,14 +166,6 @@ func handlePostEvents(post *model.Post, teamId string, triggerWebhooks bool) *mo }() } - if channel.Type == model.CHANNEL_DIRECT { - go func() { - if err := MakeDirectChannelVisible(post.ChannelId); err != nil { - l4g.Error(err.Error()) - } - }() - } - return nil } |