Added (temporary) fix for spam bots statuses to be hidden from timelines, comments
• Added: - (temporary) fix for spam bots statuses to be hidden from timelines, comments • Todo: - Implement a new "spam" structure to allow for accounts to be safe from being (re) marked as spam.
This commit is contained in:
@@ -325,6 +325,11 @@ class Status extends ImmutablePureComponent {
|
||||
return null
|
||||
}
|
||||
|
||||
//If account is spam and not mine, hide
|
||||
if (status.getIn(['account', 'is_flagged_as_spam']) && status.getIn(['account', 'id']) !== me) {
|
||||
return null
|
||||
}
|
||||
|
||||
if (isComment && !ancestorStatus && !isChild) {
|
||||
// Wait to load...
|
||||
// return <StatusPlaceholder />
|
||||
|
||||
Reference in New Issue
Block a user