diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-05-09 16:01:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-09 16:01:06 -0400 |
commit | 8c8d9dbf8fa3b4ebf640bf5e1a71f9c04b57e111 (patch) | |
tree | 3de51f879e798045076e075c3fedf3cd73094415 /api/channel.go | |
parent | c8a4a8c6e6b04ff4f8f6d8e9c632b63b3cf74f42 (diff) | |
download | chat-8c8d9dbf8fa3b4ebf640bf5e1a71f9c04b57e111.tar.gz chat-8c8d9dbf8fa3b4ebf640bf5e1a71f9c04b57e111.tar.bz2 chat-8c8d9dbf8fa3b4ebf640bf5e1a71f9c04b57e111.zip |
Forward port 3.8.1 changes that missed master (#6362)
Diffstat (limited to 'api/channel.go')
-rw-r--r-- | api/channel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/channel.go b/api/channel.go index 73daaf3d4..c7b0630e6 100644 --- a/api/channel.go +++ b/api/channel.go @@ -124,7 +124,7 @@ func createGroupChannel(c *Context, w http.ResponseWriter, r *http.Request) { userIds = append(userIds, c.Session.UserId) } - if sc, err := app.CreateGroupChannel(userIds); err != nil { + if sc, err := app.CreateGroupChannel(userIds, c.Session.UserId); err != nil { c.Err = err return } else { |