Closed dbutti closed 1 year ago
Just answering to myself... in fact all that is needed is to apply the very same logic which is used for "m.image".
For example, I have patched like this lines 98:101 in src/matrix_receive.js
case 'm.image':
case 'm.video':
if(!node.acceptImages) return;
msg.filename = msg.content.filename || msg.content.body; ```
and video media files are handled correctly the same way images do.
This has been added on v0.7.0, thanks!
It should be possible to receive messages of type "m.video". This type is currently not supported, and corresponding messages are simply ignored by the receive node.