mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 03:06:53 +08:00
FIX: Make sure we hide the first post in a topic by an ignored user (#7428)
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user