Renamed Channel.Description to Channel.Header on the server

Этот коммит содержится в:
hmhealey
2015-10-26 16:18:28 -04:00
родитель 95c464b167
Коммит 09b38404fa
8 изменённых файлов: 64 добавлений и 61 удалений

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

@@ -182,7 +182,7 @@ func SlackAddChannels(teamId string, slackchannels []SlackChannel, posts map[str
Type: model.CHANNEL_OPEN,
DisplayName: sChannel.Name,
Name: SlackConvertChannelName(sChannel.Name),
Description: sChannel.Topic["value"],
//Purpose: sChannel.Topic["value"], // TODO uncomment this once Channel.Purpose is a field
}
mChannel := ImportChannel(&newChannel)
if mChannel == nil {