diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-12-20 19:38:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-20 19:38:11 -0500 |
commit | 8c5744492f592a7e42603a4d9bf26af38eb48542 (patch) | |
tree | efd4072b929caa10fed9bba0d7641188dfbf124f /webapp/utils/post_utils.jsx | |
parent | 8b26573494e8841dde0d40a0c6f12c1d449b1598 (diff) | |
download | chat-8c5744492f592a7e42603a4d9bf26af38eb48542.tar.gz chat-8c5744492f592a7e42603a4d9bf26af38eb48542.tar.bz2 chat-8c5744492f592a7e42603a4d9bf26af38eb48542.zip |
Revert "PLT-135 Showing "(Edited)" indicator if a message has been edited." (#4854)
Diffstat (limited to 'webapp/utils/post_utils.jsx')
-rw-r--r-- | webapp/utils/post_utils.jsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/webapp/utils/post_utils.jsx b/webapp/utils/post_utils.jsx index d909b35f8..4bba784cb 100644 --- a/webapp/utils/post_utils.jsx +++ b/webapp/utils/post_utils.jsx @@ -15,10 +15,6 @@ export function isComment(post) { return false; } -export function isEdited(post) { - return post.update_at && post.update_at > post.create_at; -} - export function getProfilePicSrcForPost(post, timestamp) { let src = Client.getUsersRoute() + '/' + post.user_id + '/image?time=' + timestamp; if (post.props && post.props.from_webhook && global.window.mm_config.EnablePostIconOverride === 'true') { @@ -32,4 +28,4 @@ export function getProfilePicSrcForPost(post, timestamp) { } return src; -} +}
\ No newline at end of file |