bigbuffet-rw/app/soapbox/utils/state.js
2021-07-26 11:46:44 -05:00

10 lines
328 B
JavaScript

import { getSoapboxConfig } from'soapbox/actions/soapbox';
export const displayFqn = state => {
const soapbox = getSoapboxConfig(state);
return soapbox.get('displayFqn');
};
export const federationRestrictionsDisclosed = state => {
return state.hasIn(['instance', 'pleroma', 'metadata', 'federation', 'exclusions']);
};