summaryrefslogtreecommitdiffstats
path: root/api4
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-03-20 10:12:43 -0400
committerGitHub <noreply@github.com>2017-03-20 10:12:43 -0400
commitdcdea9b54c14329e47a0cb7c6dffb9da765b35c6 (patch)
tree7778199d0c3e611ca88d60b6ec6dcce1b08c2091 /api4
parent1ef071af6bcb6e97247860879f74556a66fe9987 (diff)
downloadchat-dcdea9b54c14329e47a0cb7c6dffb9da765b35c6.tar.gz
chat-dcdea9b54c14329e47a0cb7c6dffb9da765b35c6.tar.bz2
chat-dcdea9b54c14329e47a0cb7c6dffb9da765b35c6.zip
Fix compile error on master (#5813)
Diffstat (limited to 'api4')
-rw-r--r--api4/channel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/channel.go b/api4/channel.go
index 61d9e6f53..a4820d729 100644
--- a/api4/channel.go
+++ b/api4/channel.go
@@ -535,7 +535,7 @@ func addChannelMember(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
- if cm, err := app.AddChannelMember(member.UserId, channel, c.Session.UserId); err != nil {
+ if cm, err := app.AddChannelMember(member.UserId, channel, c.Session.UserId, c.GetSiteURL()); err != nil {
c.Err = err
return
} else {