diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-11-30 14:15:28 -0500 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-11-30 14:15:28 -0500 |
commit | 0b3be654a2d13cd3f74d489c75beec3ada4a6d80 (patch) | |
tree | 634fb2e275444e7bc5a1def6af3178c94fe800dc /web/react/utils/utils.jsx | |
parent | c919bd9e52e56621c9f94007de6410c3810e06c3 (diff) | |
download | chat-0b3be654a2d13cd3f74d489c75beec3ada4a6d80.tar.gz chat-0b3be654a2d13cd3f74d489c75beec3ada4a6d80.tar.bz2 chat-0b3be654a2d13cd3f74d489c75beec3ada4a6d80.zip |
Fix webhook post aggregation and pending/failed post aggregation
Diffstat (limited to 'web/react/utils/utils.jsx')
-rw-r--r-- | web/react/utils/utils.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx index 80c377d7f..0c08c2df6 100644 --- a/web/react/utils/utils.jsx +++ b/web/react/utils/utils.jsx @@ -854,7 +854,7 @@ export function isMobile() { export function isComment(post) { if ('root_id' in post) { - return post.root_id !== ''; + return post.root_id !== '' && post.root_id != null; } return false; } |