Replaced ChannelMember.MarkUnreadLevel with ChannelMember.NotifyProps

Этот коммит содержится в:
hmhealey
2015-09-30 11:08:36 -04:00
родитель 111fbb2495
Коммит c16b9de8dc
13 изменённых файлов: 227 добавлений и 119 удалений

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

@@ -459,8 +459,8 @@ func (c *Client) UpdateNotifyLevel(data map[string]string) (*Result, *AppError)
}
}
func (c *Client) UpdateMarkUnreadLevel(data map[string]string) (*Result, *AppError) {
if r, err := c.DoApiPost("/channels/update_mark_unread_level", MapToJson(data)); err != nil {
func (c *Client) UpdateNotifyProps(data map[string]string) (*Result, *AppError) {
if r, err := c.DoApiPost("/channels/update_notify_props", MapToJson(data)); err != nil {
return nil, err
} else {
return &Result{r.Header.Get(HEADER_REQUEST_ID),