refs #1453 Allow to post quoted status

This commit is contained in:
AkiraFukushima 2020-08-22 21:52:14 +09:00
parent d188278b80
commit 8ebddf61b2
1 changed files with 6 additions and 0 deletions

View File

@ -227,6 +227,12 @@ const actions: ActionTree<NewTootState, RootState> = {
}) })
} }
if (state.quoteToMessage !== null) {
form = Object.assign(form, {
quote_id: state.quoteToMessage.id
})
}
if (params.polls.length > 1) { if (params.polls.length > 1) {
params.polls.map(poll => { params.polls.map(poll => {
if (poll.length < 1) { if (poll.length < 1) {