diff options
author | Corey Hulen <corey@hulen.com> | 2017-08-28 07:08:37 -0700 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-08-28 10:08:37 -0400 |
commit | 1709b94227ed33e789f1be00d26ebbb972ce86b7 (patch) | |
tree | bfadf6b52b2ce8985b59529aeb1b890fa214190d /api4 | |
parent | a12cf549cf0dc394189f7a37f090bd3eebbca8ca (diff) | |
download | chat-1709b94227ed33e789f1be00d26ebbb972ce86b7.tar.gz chat-1709b94227ed33e789f1be00d26ebbb972ce86b7.tar.bz2 chat-1709b94227ed33e789f1be00d26ebbb972ce86b7.zip |
PLT-5745 Cleaning up duplicate calls (#7298)
* PLT-5745 Cleaning up duplicate calls
* Fixing missing calls
* Fixing broken test
Diffstat (limited to 'api4')
-rw-r--r-- | api4/channel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/channel.go b/api4/channel.go index 281fb6ac4..8e9a6d9d6 100644 --- a/api4/channel.go +++ b/api4/channel.go @@ -141,7 +141,7 @@ func updateChannel(c *Context, w http.ResponseWriter, r *http.Request) { return } else { if oldChannelDisplayName != channel.DisplayName { - if err := app.PostUpdateChannelDisplayNameMessage(c.Session.UserId, channel.Id, c.Params.TeamId, oldChannelDisplayName, channel.DisplayName); err != nil { + if err := app.PostUpdateChannelDisplayNameMessage(c.Session.UserId, channel, oldChannelDisplayName, channel.DisplayName); err != nil { l4g.Error(err.Error()) } } |