refactor max channels per team enforcement (#7690)

Этот коммит содержится в:
Chris
2017-10-20 17:33:20 -07:00
коммит произвёл Joram Wilander
родитель 812f566401
Коммит d39a722a81
9 изменённых файлов: 123 добавлений и 106 удалений

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

@@ -104,7 +104,7 @@ type TeamStore interface {
}
type ChannelStore interface {
Save(channel *model.Channel) StoreChannel
Save(channel *model.Channel, maxChannelsPerTeam int64) StoreChannel
CreateDirectChannel(userId string, otherUserId string) StoreChannel
SaveDirectChannel(channel *model.Channel, member1 *model.ChannelMember, member2 *model.ChannelMember) StoreChannel
Update(channel *model.Channel) StoreChannel