summaryrefslogtreecommitdiffstats
path: root/plugin/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/api.go')
-rw-r--r--plugin/api.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/api.go b/plugin/api.go
index d64946f93..2531bf96a 100644
--- a/plugin/api.go
+++ b/plugin/api.go
@@ -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.
//