The UploadService acts as a middleman between the client and Rocket.Chat to upload files to Rocket.Chat. It was introduced because the Rocket.Chat API also allows to send a message within the same file upload call and therefore the de- and encryption of this message needs to be done with the same routine the MessageService does.
Furthermore you can limit the number of uploads and the files types that can be uploaded with the help of the UploadService.
In the project documentation you'll find information for setting up and running the project. You can find some detailled information of the service architecture and its processes in the repository documentation.
The project is licensed under the AGPLv3 which you'll find here.
Please have a look at our Code of Conduct before participating in the community.
Please read our contribution guidelines before contributing to this project.