mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:54:16 +08:00
FIX: Make sure we hide the first post in a topic by an ignored user (#7428)
This commit is contained in:
parent
1a8c6577e0
commit
e4d8d80cf8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user