Forward port 3.8.1 changes that missed master (#6362)

This commit is contained in:
Joram Wilander
2017-05-09 16:01:06 -04:00
committed by GitHub
parent c8a4a8c6e6
commit 8c8d9dbf8f
3 changed files with 8 additions and 4 deletions

View File

@@ -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 {