Change validation to permit polls and media being combined (#39203)
This commit is contained in:
1 parent
1f1455d1f0
commit
1bbe3872f2
4 files changed
+3
-11
No files matched your search
@@ -342,11 +342,6 @@ export function uploadCompose(files) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (getState().getIn(['compose', 'poll'])) {
|
||||
dispatch(showAlert({ message: messages.uploadErrorPoll }));
|
||||
return;
|
||||
}
|
||||
|
||||
dispatch(uploadComposeRequest());
|
||||
|
||||
for (const [i, file] of Array.from(files).entries()) {
|
||||
|
||||
Reference in new issue
Block a user