Merge branch 'refactor-allFediverse' into 'develop'

Refactor "All Fediverse" setting

See merge request gab/social/gab-social!25
This commit is contained in:
Rob Colbert 2019-08-01 12:49:52 +00:00
commit cab7181b5b
2 changed files with 4 additions and 5 deletions

View File

@ -41,11 +41,6 @@ class CommunityTimeline extends React.PureComponent {
router: PropTypes.object,
};
static defaultProps = {
onlyMedia: false,
allFediverse: false,
};
static propTypes = {
dispatch: PropTypes.func.isRequired,
intl: PropTypes.object.isRequired,

View File

@ -57,6 +57,10 @@ const initialState = ImmutableMap({
}),
community: ImmutableMap({
other: ImmutableMap({
allFediverse: false,
onlyMedia: false,
}),
regex: ImmutableMap({
body: '',
}),