summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2017-01-06 12:13:22 -0500
committerJoram Wilander <jwawilander@gmail.com>2017-01-06 12:13:22 -0500
commite82bcea0d06b2173ed286f394ee33a393469eeaf (patch)
tree2280b8b8d030675e916d1e9fc5b89fa24aee1b50 /webapp/components/post_view
parent1aa235b10d298926f2d683b2d1a5c82f6a9591e9 (diff)
downloadchat-e82bcea0d06b2173ed286f394ee33a393469eeaf.tar.gz
chat-e82bcea0d06b2173ed286f394ee33a393469eeaf.tar.bz2
chat-e82bcea0d06b2173ed286f394ee33a393469eeaf.zip
PLT-5118 moving to last_picture_update for the profile img (#4985)
Diffstat (limited to 'webapp/components/post_view')
-rw-r--r--webapp/components/post_view/components/post.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/webapp/components/post_view/components/post.jsx b/webapp/components/post_view/components/post.jsx
index f052ac4ae..03075a3fb 100644
--- a/webapp/components/post_view/components/post.jsx
+++ b/webapp/components/post_view/components/post.jsx
@@ -150,10 +150,10 @@ export default class Post extends React.Component {
}
let timestamp = 0;
- if (!this.props.user || this.props.user.update_at == null) {
- timestamp = this.props.currentUser.update_at;
+ if (!this.props.user || this.props.user.last_picture_update == null) {
+ timestamp = this.props.currentUser.last_picture_update;
} else {
- timestamp = this.props.user.update_at;
+ timestamp = this.props.user.last_picture_update;
}
let sameUserClass = '';