[Glitch] Allow editing status quote policy

Port 651e51a82e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Echo
2025-08-14 17:04:32 +02:00
committed by Claire
parent 8a7324d114
commit 2a593bd89e
17 changed files with 576 additions and 15 deletions

View File

@@ -123,6 +123,10 @@ const mapDispatchToProps = (dispatch, { contextType }) => ({
dispatch(openModal({ modalType: 'CONFIRM_REVOKE_QUOTE', modalProps: { statusId: status.get('id'), quotedStatusId: status.getIn(['quote', 'quoted_status']) }}));
},
onQuotePolicyChange(status) {
dispatch(openModal({ modalType: 'COMPOSE_PRIVACY', modalProps: { statusId: status.get('id') } }));
},
onEdit (status) {
dispatch((_, getState) => {
let state = getState();