-
- {status.getIn(['account', 'display_name']) || status.getIn(['account', 'username'])}
- {status.get('spoiler_text').length > 0 && ({status.get('spoiler_text')})}
- {expanded && {status.get('content')}}
-
-
- );
- }
const connectUp = previousId && previousId === status.get('in_reply_to_id');
const connectToRoot = rootId && rootId === status.get('in_reply_to_id');
@@ -446,6 +432,21 @@ class Status extends ImmutablePureComponent {
);
}
+ const matchedFilters = status.get('matched_filters');
+ const expanded = (!matchedFilters || this.state.showDespiteFilter) && (!status.get('hidden') || status.get('spoiler_text').length === 0);
+
+ if (hidden) {
+ return (
+