Skylar-Tech / node-red-contrib-matrix-chat

Matrix chat server support for Node-RED
GNU General Public License v3.0
31 stars 10 forks source link

Create single upload file node #102

Open skylord123 opened 8 months ago

skylord123 commented 8 months ago

Instead of having upload image and upload file we should bring them all into one node called upload file that can handle what both of them did. We then need to add options for all the different media types so the todo list is:

This node should not post to a room and instead can be chained to a send message node to handle it. This way it can be used to upload room avatar and in the future the user's avatar. This also allows you to post to multiple rooms without having to upload the file multiple times.

We will have to deprecate the send file and send image nodes. This will be done slowly over the next few releases to make it less annoying. Since now people will need a upload file and send message node chained.

Related docs: