• 杉木树下's avatar
    fix(*): Support for send 25Mb+ files (#771) · 43200033
    杉木树下 提交于
    * fix(*): Support for send 25Mb+ files
    
    1. Upload a file larger than 25Mb.
    2. Limit the upload file to no more than 100Mb.
    3. According to webwxapp perfect upload processing.
    4. Increase the upload and handling of upload exceptions.
    
    * refactor(*): add support download file and send it again
    
    1. add MediaMessage.saveFile() , used to save attachment
    2. Refactor MediaMessage.forward(), support send to Room and Contact
    array, add support download big file and send it again.
    
    * fix(*): fix reuse data
    
    * dev code
    
    * fix(message): Remove support for foward 25Mb+ files in forward()
    
    Because webWx restrictions, more than 25 MB of files can not be
    downloaded, it can not be forwarded.
    
    * fix: fix send files after restart
    
    Closes 777
    
    * feat(MediaMessage): support forward their own upload 25Mb+ file
    
    * style: clean code
    
    * docs: Modify forward support 25Mb+ file descrption
    
    * fix: fix after upload file,display is cancel button
    
    * clean code
    
    * refactor(MediaMessage): Modify saveFile() return Promise<void>
    
    * clean code
    43200033
message.ts 37.0 KB