Added Channel.Purpose on the server

Этот коммит содержится в:
hmhealey
2015-10-27 11:04:23 -04:00
родитель 887d205b1f
Коммит 61da22ea32
7 изменённых файлов: 155 добавлений и 7 удалений

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

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