mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 23:07:28 +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() {
|
_computeCooked() {
|
||||||
if (
|
if (
|
||||||
this.attrs.embeddedPost &&
|
(this.attrs.firstPost || this.attrs.embeddedPost) &&
|
||||||
this.ignoredUsers &&
|
this.ignoredUsers &&
|
||||||
this.ignoredUsers.length > 0 &&
|
this.ignoredUsers.length > 0 &&
|
||||||
this.ignoredUsers.includes(this.attrs.username)
|
this.ignoredUsers.includes(this.attrs.username)
|
||||||
|
Reference in New Issue
Block a user