Change validation to permit polls and media being combined (#39203)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2026-06-10 15:20:21 +00:00
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()) {