mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 07:49:29 +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 visibility;
|
||||
});
|
||||
}).update('advanced_options',
|
||||
map => map.merge(new ImmutableMap({ do_not_federate: !!status.get('local_only') })),
|
||||
);
|
||||
} else if (quoteComposeCancel.match(action)) {
|
||||
return state.set('quoted_status_id', null);
|
||||
} else if (setComposeQuotePolicy.match(action)) {
|
||||
|
||||
Reference in New Issue
Block a user