diff options
Diffstat (limited to 'api/channel.go')
-rw-r--r-- | api/channel.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/channel.go b/api/channel.go index de15b3610..5f3282072 100644 --- a/api/channel.go +++ b/api/channel.go @@ -58,6 +58,8 @@ func createChannel(c *Context, w http.ResponseWriter, r *http.Request) { return } + channel.CreatorId = c.Session.UserId + if sc, err := CreateChannel(c, channel, true); err != nil { c.Err = err return |