GH-9619 GetEmojiImage added to plugin API (#9628)

* GH-9619 conflict fix

* GH-9619 fixed conflicts, version comment
Этот коммит содержится в:
S4KH
2018-10-19 04:07:21 +08:00
коммит произвёл Harrison Healey
родитель d1805733fe
Коммит c3d536c644
4 изменённых файлов: 71 добавлений и 0 удалений

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

@@ -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)
}