summaryrefslogtreecommitdiffstats
path: root/web/react/components/user_profile.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-07-13 14:36:27 -0400
committerChristopher Speller <crspeller@gmail.com>2015-07-13 14:36:27 -0400
commite38ea318a1287710313a0c86fecb76dff8a923aa (patch)
tree79a5158a3036563eb45852293f0c5a4af1a196b7 /web/react/components/user_profile.jsx
parentd2602f540c953ffea2e622ed4c699ab44eadd087 (diff)
parentaff43f43f8185ae6d5555ca9f99bfcc4bd3eb99e (diff)
downloadchat-e38ea318a1287710313a0c86fecb76dff8a923aa.tar.gz
chat-e38ea318a1287710313a0c86fecb76dff8a923aa.tar.bz2
chat-e38ea318a1287710313a0c86fecb76dff8a923aa.zip
Merge pull request #158 from nickago/MM-975
MM-975 Added timestamps to pictures to stop caching
Diffstat (limited to 'web/react/components/user_profile.jsx')
-rw-r--r--web/react/components/user_profile.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/user_profile.jsx b/web/react/components/user_profile.jsx
index 648960471..89d0a80ff 100644
--- a/web/react/components/user_profile.jsx
+++ b/web/react/components/user_profile.jsx
@@ -53,7 +53,7 @@ module.exports = React.createClass({
var name = this.props.overwriteName ? this.props.overwriteName : this.state.profile.username;
- var data_content = "<img style='margin: 10px' src='/api/v1/users/" + this.state.profile.id + "/image' height='128' width='128' />";
+ var data_content = "<img style='margin: 10px' src='/api/v1/users/" + this.state.profile.id + "/image?time=" + this.state.profile.update_at + "' height='128' width='128' />";
if (!config.ShowEmail) {
data_content += "<div class='text-nowrap'>Email not shared</div>";
} else {