diff options
author | Jesús Espino <jespinog@gmail.com> | 2018-10-02 08:04:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 08:04:38 +0200 |
commit | c82a84ed765bd9c4d601b93201d93af92f6ee742 (patch) | |
tree | 468b65659656bea32721cda7a193dcc83f93a678 /store/store.go | |
parent | 3e462713debd5c992aa071bed902110bed88ec67 (diff) | |
download | chat-c82a84ed765bd9c4d601b93201d93af92f6ee742.tar.gz chat-c82a84ed765bd9c4d601b93201d93af92f6ee742.tar.bz2 chat-c82a84ed765bd9c4d601b93201d93af92f6ee742.zip |
MM-12067: Add SetDefaultProfileImage to reset the user profile image to a generated one (#9449)
* MM-12067: Add SetDefaultProfileImage to reset the user profile image to a generated one
* Allow to get the default profile image for my user
* Allowing to reset the last update image date to 0
* PR reviews
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go index f375bfb0f..02bbb11ca 100644 --- a/store/store.go +++ b/store/store.go @@ -230,6 +230,7 @@ type UserStore interface { Save(user *model.User) StoreChannel Update(user *model.User, allowRoleUpdate bool) StoreChannel UpdateLastPictureUpdate(userId string) StoreChannel + ResetLastPictureUpdate(userId string) StoreChannel UpdateUpdateAt(userId string) StoreChannel UpdatePassword(userId, newPassword string) StoreChannel UpdateAuthData(userId string, service string, authData *string, email string, resetMfa bool) StoreChannel |