From 2658d62c9c85783df54519913df2abed6a4e6b5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Espino=20Garc=C3=ADa?= Date: Fri, 14 Apr 2023 17:12:40 +0200 Subject: [PATCH] Fix file attachment limited to one file (#7280) --- .../post_draft/quick_actions/file_quick_action/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/post_draft/quick_actions/file_quick_action/index.tsx b/app/components/post_draft/quick_actions/file_quick_action/index.tsx index 566fa9320..112d72123 100644 --- a/app/components/post_draft/quick_actions/file_quick_action/index.tsx +++ b/app/components/post_draft/quick_actions/file_quick_action/index.tsx @@ -47,7 +47,7 @@ export default function FileQuickAction({ const picker = new PickerUtil(intl, onUploadFiles); - picker.attachFileFromFiles(); + picker.attachFileFromFiles(undefined, true); }, [onUploadFiles]); const actionTestID = disabled ? `${testID}.disabled` : testID;