GH-9633 Added plugin API method to return user's profile image (#9653)

Этот коммит содержится в:
Alexander Akhmetov
2018-10-15 16:23:41 +02:00
коммит произвёл Carlos Tadeu Panato Junior
родитель c1e5fff565
Коммит 160d278592
5 изменённых файлов: 84 добавлений и 1 удалений

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

@@ -185,6 +185,9 @@ type API interface {
// UpdatePost updates a post.
UpdatePost(post *model.Post) (*model.Post, *model.AppError)
// GetProfileImage gets user's profile image
GetProfileImage(userId string) ([]byte, *model.AppError)
// CopyFileInfos duplicates the FileInfo objects referenced by the given file ids,
// recording the given user id as the new creator and returning the new set of file ids.
//