mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 16:59:41 +00:00
Change quotes to inherit local-only status of quoted post in composer (#3286)
This commit is contained in:
@@ -425,7 +425,9 @@ export const composeReducer = (state = initialState, action) => {
|
|||||||
return 'private';
|
return 'private';
|
||||||
}
|
}
|
||||||
return visibility;
|
return visibility;
|
||||||
});
|
}).update('advanced_options',
|
||||||
|
map => map.merge(new ImmutableMap({ do_not_federate: !!status.get('local_only') })),
|
||||||
|
);
|
||||||
} else if (quoteComposeCancel.match(action)) {
|
} else if (quoteComposeCancel.match(action)) {
|
||||||
return state.set('quoted_status_id', null);
|
return state.set('quoted_status_id', null);
|
||||||
} else if (setComposeQuotePolicy.match(action)) {
|
} else if (setComposeQuotePolicy.match(action)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user