summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-08-22 11:59:42 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-08-22 11:59:42 -0700
commit86428fff9950cd3d08601d179d3953c3936ccabf (patch)
treeb2d78ff2e5ffb3a21b3a24a0ad7b5b31bab17aa2 /web/react/components
parentd62924815127c5b7535a8958e2f0ee370aaf21ee (diff)
downloadchat-86428fff9950cd3d08601d179d3953c3936ccabf.tar.gz
chat-86428fff9950cd3d08601d179d3953c3936ccabf.tar.bz2
chat-86428fff9950cd3d08601d179d3953c3936ccabf.zip
Fixes issue with profile pictures not updating w/o refresh and prevents more ie10 ajax caching issues
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/post.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/post.jsx b/web/react/components/post.jsx
index 7bc6a8c01..53ffeb400 100644
--- a/web/react/components/post.jsx
+++ b/web/react/components/post.jsx
@@ -102,7 +102,7 @@ module.exports = React.createClass({
currentUserCss = "current--user";
}
- var timestamp = UserStore.getCurrentUser().update_at;
+ var timestamp = UserStore.getProfile(post.user_id).update_at;
return (
<div>