Commit cab7181b authored by Rob Colbert's avatar Rob Colbert

Merge branch 'refactor-allFediverse' into 'develop'

Refactor "All Fediverse" setting

See merge request gab/social/gab-social!25
parents fa574e4e f8113f70
...@@ -41,11 +41,6 @@ class CommunityTimeline extends React.PureComponent { ...@@ -41,11 +41,6 @@ class CommunityTimeline extends React.PureComponent {
router: PropTypes.object, router: PropTypes.object,
}; };
static defaultProps = {
onlyMedia: false,
allFediverse: false,
};
static propTypes = { static propTypes = {
dispatch: PropTypes.func.isRequired, dispatch: PropTypes.func.isRequired,
intl: PropTypes.object.isRequired, intl: PropTypes.object.isRequired,
......
...@@ -57,6 +57,10 @@ const initialState = ImmutableMap({ ...@@ -57,6 +57,10 @@ const initialState = ImmutableMap({
}), }),
community: ImmutableMap({ community: ImmutableMap({
other: ImmutableMap({
allFediverse: false,
onlyMedia: false,
}),
regex: ImmutableMap({ regex: ImmutableMap({
body: '', body: '',
}), }),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment