Skip to content

Commit

Permalink
Merge pull request #4358 from rushatgabhane/fix-4356
Browse files Browse the repository at this point in the history
Fix User is able to upload a file larger than 50mb

(cherry picked from commit cc82f83)
  • Loading branch information
iwiznia authored and OSBotify committed Aug 2, 2021
1 parent 37eaef1 commit db3c3b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/AttachmentPicker/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ function getDataForUpload(fileData) {
name: fileData.fileName || fileData.name || 'chat_attachment',
type: fileData.type,
uri: fileData.uri,
size: fileData.size,
};
}

Expand Down

0 comments on commit db3c3b6

Please sign in to comment.