Permit post has media_attachments and polls
This commit is contained in:
parent
7e8253e87b
commit
081439a7dd
4 changed files with 3 additions and 8 deletions
|
@ -281,11 +281,6 @@ export function uploadCompose(files) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (getState().getIn(['compose', 'poll'])) {
|
||||
dispatch(showAlert(undefined, messages.uploadErrorPoll));
|
||||
return;
|
||||
}
|
||||
|
||||
dispatch(uploadComposeRequest());
|
||||
|
||||
for (const [i, file] of Array.from(files).entries()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue