Support 5 or more media_attachments from activitypub
This commit is contained in:
parent
21899ccf3f
commit
1502668ee5
11 changed files with 41 additions and 13 deletions
|
@ -278,7 +278,7 @@ export function uploadCompose(files) {
|
|||
dispatch(uploadComposeRequest());
|
||||
|
||||
for (const [i, f] of Array.from(files).entries()) {
|
||||
if (media.size + i > 3) break;
|
||||
if (media.size + i >= 4) break;
|
||||
|
||||
resizeImage(f).then(file => {
|
||||
const data = new FormData();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue