2021-04-10 12:13:07 -07:00
|
|
|
import { getSoapboxConfig } from'soapbox/actions/soapbox';
|
|
|
|
|
|
|
|
export const displayFqn = state => {
|
|
|
|
const soapbox = getSoapboxConfig(state);
|
|
|
|
return soapbox.get('displayFqn');
|
|
|
|
};
|
2021-07-26 09:46:44 -07:00
|
|
|
|
|
|
|
export const federationRestrictionsDisclosed = state => {
|
2021-07-26 10:23:49 -07:00
|
|
|
return state.hasIn(['instance', 'pleroma', 'metadata', 'federation', 'mrf_policies']);
|
2021-07-26 09:46:44 -07:00
|
|
|
};
|