1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2025-02-08 15:58:42 +01:00

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

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) {
params.polls.map(poll => {
if (poll.length < 1) {