Properly display webhook username/icon in search results

Этот коммит содержится в:
JoramWilander
2016-04-01 11:53:49 -04:00
родитель 785553384f
Коммит 0f3d62364b
5 изменённых файлов: 46 добавлений и 30 удалений

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

@@ -204,10 +204,12 @@ export default class PostsView extends React.Component {
// the previous post was made by the same user as the current post,
// the previous post is not a comment,
// the current post is not a comment,
// the previous post is not from a webhook
// the current post is not from a webhook
if (prevPostUserId === postUserId &&
!prevPostIsComment &&
!postIsComment &&
!prevPostFromWebhook &&
!postFromWebhook) {
hideProfilePic = true;
}