From 3a1ec7dbd76ecad556cca0cee54f574bf813c1fd Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Thu, 11 Feb 2016 13:17:59 -0500 Subject: [PATCH] Switch to using create_at for latest post --- web/react/utils/async_client.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/react/utils/async_client.jsx b/web/react/utils/async_client.jsx index dc8013a6bf..45cdf699f7 100644 --- a/web/react/utils/async_client.jsx +++ b/web/react/utils/async_client.jsx @@ -532,7 +532,7 @@ export function getPosts(id) { let latestPostTime = 0; if (latestPost != null && latestPost.update_at != null) { - latestPostTime = latestPost.update_at; + latestPostTime = latestPost.create_at; } callTracker['getPosts_' + channelId] = utils.getTimestamp();