diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-02-15 18:54:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-15 18:54:24 -0500 |
commit | db2966b7cb3111ff1b3cadfbec1221343b0e8629 (patch) | |
tree | e2b64183860e98807a4d77401db3dcdf61d2a6a7 /app/post.go | |
parent | 745e2f4923c653c7b9bff990375d9f3f67b4c212 (diff) | |
download | chat-db2966b7cb3111ff1b3cadfbec1221343b0e8629.tar.gz chat-db2966b7cb3111ff1b3cadfbec1221343b0e8629.tar.bz2 chat-db2966b7cb3111ff1b3cadfbec1221343b0e8629.zip |
Remove MakeDirectChannelVisible and add client handling for showing DMs (#5430)
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 } |