Track channel creator in DB and show in channel intro message.

Этот коммит содержится в:
JoramWilander
2015-08-19 08:31:20 -04:00
родитель 7004a348b5
Коммит 11247061b5
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