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:
[x] support multiple ways to figure out file content-type when a name isn't specified
[x] support m.image
[x] auto detect image info (size/type)
[x] support m.video
[x] auto detect video info
[x] support m.audio
[x] auto detect audio info
[x] support m.file
[x] support video and image thumbnail generation
[x] look into how we can auto detect this
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.
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: