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

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

diff --git a/app/assets/javascripts/discourse/widgets/post-cooked.js.es6 b/app/assets/javascripts/discourse/widgets/post-cooked.js.es6
index 3d2dbb1..4daa426 100644
--- a/app/assets/javascripts/discourse/widgets/post-cooked.js.es6
+++ b/app/assets/javascripts/discourse/widgets/post-cooked.js.es6
@@ -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)

GitHub sha: e4d8d80c