Skip to content

Commit

Permalink
fix: πŸ› uuid filebox for small files
Browse files Browse the repository at this point in the history
βœ… Closes: wechaty#213
  • Loading branch information
hcfw007 committed Jun 20, 2022
1 parent 2622cc2 commit 379d27c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/file-box-helper/normalize-filebox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ const greenFileBoxTypes = [
* if it's bigger than the threshold,
* then it should be convert to a UUID file box before send out
*/
const yellowFileBoxTypes = [
FileBoxType.Buffer,
FileBoxType.Base64,
const yellowFileBoxTypes: FileBoxType [] = [
// FileBoxType.Buffer,
// FileBoxType.Base64,
]

const canPassthrough = (fileBox: FileBoxInterface) => {
Expand Down

0 comments on commit 379d27c

Please sign in to comment.