MM-44953: Refactor EnsureBot to be used from plugin.API (#20521)
The mattermost-plugin-api code also needs to use this. Hence we make it available from plugin.API. https://mattermost.atlassian.net/browse/MM-44953 ```release-note NONE ```
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b5dec4f4d9
Коммит
4dd2b5f039
@@ -1152,6 +1152,11 @@ type API interface {
|
||||
//
|
||||
// Minimum server version: 7.0
|
||||
GetCloudLimits() (*model.ProductLimits, error)
|
||||
|
||||
// EnsureBotUser updates the bot if it exists, otherwise creates it.
|
||||
//
|
||||
// Minimum server version: 7.1
|
||||
EnsureBotUser(bot *model.Bot) (string, error)
|
||||
}
|
||||
|
||||
var handshake = plugin.HandshakeConfig{
|
||||
|
||||
Ссылка в новой задаче
Block a user