GH-9619 GetEmojiImage added to plugin API (#9628)
* GH-9619 conflict fix * GH-9619 fixed conflicts, version comment
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
d1805733fe
Коммит
c3d536c644
@@ -398,6 +398,10 @@ func (api *PluginAPI) ReadFile(path string) ([]byte, *model.AppError) {
|
||||
return api.app.ReadFile(path)
|
||||
}
|
||||
|
||||
func (api *PluginAPI) GetEmojiImage(emojiId string) ([]byte, string, *model.AppError) {
|
||||
return api.app.GetEmojiImage(emojiId)
|
||||
}
|
||||
|
||||
func (api *PluginAPI) KVSet(key string, value []byte) *model.AppError {
|
||||
return api.app.SetPluginKey(api.id, key, value)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user