mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 17:38:07 +01:00
Fix boost dialog visibility selection not being taken into account (#31523)
This commit is contained in:
parent
e48a64d3b5
commit
01a757d306
1 changed files with 2 additions and 2 deletions
|
@ -437,12 +437,12 @@ export function unpinFail(status, error) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleReblogWithoutConfirmation(status, privacy) {
|
function toggleReblogWithoutConfirmation(status, visibility) {
|
||||||
return (dispatch) => {
|
return (dispatch) => {
|
||||||
if (status.get('reblogged')) {
|
if (status.get('reblogged')) {
|
||||||
dispatch(unreblog({ statusId: status.get('id') }));
|
dispatch(unreblog({ statusId: status.get('id') }));
|
||||||
} else {
|
} else {
|
||||||
dispatch(reblog({ statusId: status.get('id'), privacy }));
|
dispatch(reblog({ statusId: status.get('id'), visibility }));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue