summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_list.jsx
diff options
context:
space:
mode:
authornickago <ngonella@calpoly.edu>2015-07-09 16:37:03 -0700
committernickago <ngonella@calpoly.edu>2015-07-13 08:58:51 -0700
commitc3aed620316241eba48ecd2fd1f36a309bcfdff9 (patch)
tree0bb97f7ad036986fe4b7b0e35d9cbf39c740a067 /web/react/components/post_list.jsx
parent6cc8788193630b802375669c72fab02220cb692a (diff)
downloadchat-c3aed620316241eba48ecd2fd1f36a309bcfdff9.tar.gz
chat-c3aed620316241eba48ecd2fd1f36a309bcfdff9.tar.bz2
chat-c3aed620316241eba48ecd2fd1f36a309bcfdff9.zip
Added timestamps to pictures to stop caching
Diffstat (limited to 'web/react/components/post_list.jsx')
-rw-r--r--web/react/components/post_list.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/post_list.jsx b/web/react/components/post_list.jsx
index d6dc9ce30..e6e028209 100644
--- a/web/react/components/post_list.jsx
+++ b/web/react/components/post_list.jsx
@@ -342,7 +342,7 @@ module.exports = React.createClass({
more_messages = (
<div className="channel-intro">
<div className="post-profile-img__container channel-intro-img">
- <img className="post-profile-img" src={"/api/v1/users/" + teammate.id + "/image"} height="50" width="50" />
+ <img className="post-profile-img" src={"/api/v1/users/" + teammate.id + "/image?time=" + teammate.update_at} height="50" width="50" />
</div>
<div className="channel-intro-profile">
<strong><UserProfile userId={teammate.id} /></strong>