Merge pull request #406 from mattermost/mm-1281

MM-1281 Track channel creator in DB and show in channel intro message
Этот коммит содержится в:
Christopher Speller
2015-08-19 14:15:01 -04:00
родитель fbc2283220 11247061b5
Коммит 65f1d0297e
4 изменённых файлов: 23 добавлений и 5 удалений

Просмотреть файл

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