Merge pull request #1548 from mattermost/plt-1268

PLT-1268 Fix webhook post aggregation and pending/failed post aggregation
Этот коммит содержится в:
Christopher Speller
2015-12-01 08:50:28 -05:00
родитель 2bfb3493f4 0b3be654a2
Коммит 62c96514bf
2 изменённых файлов: 40 добавлений и 9 удалений

Просмотреть файл

@@ -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;
}