]> cat aescling's git repositories - mastodon.git/commit
Fix pending upload count not being decremented on error (#12499)
authorThibG <thib@sitedethib.com>
Fri, 29 Nov 2019 16:02:18 +0000 (17:02 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 29 Nov 2019 16:02:18 +0000 (17:02 +0100)
commit667708f5b00ee8b7795eacd9c20d29f77c8ae602
tree4247a99f7883143a635d06fa8b859f54bb9f3e0e
parent07da35c17c4ff8e0fc7b90aba0b619dae119a633
Fix pending upload count not being decremented on error (#12499)

The arguments were passed to the wrong function… also, there is no
need to have a conditional decrementation: failure to upload means
we marked an upload as pending, in all cases.
app/javascript/mastodon/actions/compose.js
app/javascript/mastodon/reducers/compose.js