summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-07-17 09:44:51 -0400
committerChristopher Speller <crspeller@gmail.com>2015-07-17 09:44:51 -0400
commitf49fccdee356d604a58ad0cddcc2fe5b7ebf5cc8 (patch)
treec4cd7d4be00788e68a7f7950945cf67fef7d2213 /api
parent3f328546f8af55f655290aefad245b0f3b049bcd (diff)
parent1fe86a004ef2a99c55a583b2b2b0bf1c40b6afe3 (diff)
downloadchat-f49fccdee356d604a58ad0cddcc2fe5b7ebf5cc8.tar.gz
chat-f49fccdee356d604a58ad0cddcc2fe5b7ebf5cc8.tar.bz2
chat-f49fccdee356d604a58ad0cddcc2fe5b7ebf5cc8.zip
Merge pull request #196 from nickago/MM-1058
MM-1058 Added last updated for pictures
Diffstat (limited to 'api')
-rw-r--r--api/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/user.go b/api/user.go
index 0c63868b3..3c0062f8c 100644
--- a/api/user.go
+++ b/api/user.go
@@ -729,7 +729,7 @@ func uploadProfileImage(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
- Srv.Store.User().UpdateUpdateAt(c.Session.UserId)
+ Srv.Store.User().UpdateLastPictureUpdate(c.Session.UserId)
c.LogAudit("")
}