FIX: Make sure we hide the first post in a topic by an ignored user (#7428)

This commit is contained in:
Tarek Khalil 2019-04-24 16:00:20 +01:00 committed by GitHub
parent 1a8c6577e0
commit e4d8d80cf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ export default class PostCooked {
_computeCooked() {
if (
this.attrs.embeddedPost &&
(this.attrs.firstPost || this.attrs.embeddedPost) &&
this.ignoredUsers &&
this.ignoredUsers.length > 0 &&
this.ignoredUsers.includes(this.attrs.username)