diff options
author | Alexander Akhmetov <me@alex.earth> | 2018-10-15 16:23:41 +0200 |
---|---|---|
committer | Carlos Tadeu Panato Junior <ctadeu@gmail.com> | 2018-10-15 16:23:41 +0200 |
commit | 160d2785927d4729441dfa6ecd0d5536ec640687 (patch) | |
tree | 55b703d485b148ebc2a4c5903dfff57e7c2a634b /plugin/api.go | |
parent | c1e5fff56534387864565d7c910d49e11a3add4a (diff) | |
download | chat-160d2785927d4729441dfa6ecd0d5536ec640687.tar.gz chat-160d2785927d4729441dfa6ecd0d5536ec640687.tar.bz2 chat-160d2785927d4729441dfa6ecd0d5536ec640687.zip |
GH-9633 Added plugin API method to return user's profile image (#9653)
Diffstat (limited to 'plugin/api.go')
-rw-r--r-- | plugin/api.go | 3 |
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. // |