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

nodered client join room - needs msg.userId #39

Closed 2114L3 closed 2 years ago

2114L3 commented 2 years ago

https://github.com/Skylar-Tech/node-red-contrib-matrix-chat/blob/25c92b787aaa9392a74c94731efca6df84943ed0/src/matrix-join-room.js#L41

to get the node client itself to join a room, i have to inject a msg.userId with any value or else i get an error the userId is not used in this action, and this check for msg.UserId should be removed

this might have been a copy paste from matrix-synapse-join-room.js

v0.3.0 on nodered v2.1.3 docker

skylord123 commented 2 years ago

Ah yeah that shouldn't be there. I will get that fixed in the next release. Thanks! :)