Compare commits

...

1 commit

View file

@ -10,12 +10,14 @@ const currentUserOrTimelineVisibleUnauthenticated = (state, timeline) => (
const federatedTimelineAvailable = (state) => state.instance.federatedTimelineAvailable;
const localTimelineAvailable = (state) => state.instance.localTimelineAvailable;
export const federatedTimelineVisible = (state) => (
federatedTimelineAvailable(state) && currentUserOrTimelineVisibleUnauthenticated(state, 'federated')
);
export const publicTimelineVisible = (state) => (
currentUserOrTimelineVisibleUnauthenticated(state, 'local')
localTimelineAvailable(state) && currentUserOrTimelineVisibleUnauthenticated(state, 'local')
);
export const bubbleTimelineVisible = (state) => (