[MM-37716] Drop support for LHS specific bot icons (#18087)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
99bb6084b3
Коммит
225565f412
@@ -416,22 +416,6 @@ func (_m *API) CreateUserAccessToken(token *model.UserAccessToken) (*model.UserA
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// DeleteBotIconImage provides a mock function with given fields: botUserId
|
||||
func (_m *API) DeleteBotIconImage(botUserId string) *model.AppError {
|
||||
ret := _m.Called(botUserId)
|
||||
|
||||
var r0 *model.AppError
|
||||
if rf, ok := ret.Get(0).(func(string) *model.AppError); ok {
|
||||
r0 = rf(botUserId)
|
||||
} else {
|
||||
if ret.Get(0) != nil {
|
||||
r0 = ret.Get(0).(*model.AppError)
|
||||
}
|
||||
}
|
||||
|
||||
return r0
|
||||
}
|
||||
|
||||
// DeleteChannel provides a mock function with given fields: channelId
|
||||
func (_m *API) DeleteChannel(channelId string) *model.AppError {
|
||||
ret := _m.Called(channelId)
|
||||
@@ -659,31 +643,6 @@ func (_m *API) GetBot(botUserId string, includeDeleted bool) (*model.Bot, *model
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// GetBotIconImage provides a mock function with given fields: botUserId
|
||||
func (_m *API) GetBotIconImage(botUserId string) ([]byte, *model.AppError) {
|
||||
ret := _m.Called(botUserId)
|
||||
|
||||
var r0 []byte
|
||||
if rf, ok := ret.Get(0).(func(string) []byte); ok {
|
||||
r0 = rf(botUserId)
|
||||
} else {
|
||||
if ret.Get(0) != nil {
|
||||
r0 = ret.Get(0).([]byte)
|
||||
}
|
||||
}
|
||||
|
||||
var r1 *model.AppError
|
||||
if rf, ok := ret.Get(1).(func(string) *model.AppError); ok {
|
||||
r1 = rf(botUserId)
|
||||
} else {
|
||||
if ret.Get(1) != nil {
|
||||
r1 = ret.Get(1).(*model.AppError)
|
||||
}
|
||||
}
|
||||
|
||||
return r0, r1
|
||||
}
|
||||
|
||||
// GetBots provides a mock function with given fields: options
|
||||
func (_m *API) GetBots(options *model.BotGetOptions) ([]*model.Bot, *model.AppError) {
|
||||
ret := _m.Called(options)
|
||||
@@ -3166,22 +3125,6 @@ func (_m *API) SendMail(to string, subject string, htmlBody string) *model.AppEr
|
||||
return r0
|
||||
}
|
||||
|
||||
// SetBotIconImage provides a mock function with given fields: botUserId, data
|
||||
func (_m *API) SetBotIconImage(botUserId string, data []byte) *model.AppError {
|
||||
ret := _m.Called(botUserId, data)
|
||||
|
||||
var r0 *model.AppError
|
||||
if rf, ok := ret.Get(0).(func(string, []byte) *model.AppError); ok {
|
||||
r0 = rf(botUserId, data)
|
||||
} else {
|
||||
if ret.Get(0) != nil {
|
||||
r0 = ret.Get(0).(*model.AppError)
|
||||
}
|
||||
}
|
||||
|
||||
return r0
|
||||
}
|
||||
|
||||
// SetProfileImage provides a mock function with given fields: userID, data
|
||||
func (_m *API) SetProfileImage(userID string, data []byte) *model.AppError {
|
||||
ret := _m.Called(userID, data)
|
||||
|
||||
Ссылка в новой задаче
Block a user