Fixed: matrix-join-room was requiring userId when it didn't need it Closes #39

This commit is contained in:
Skylar Sadlier 2022-01-28 10:55:38 -07:00
parent 58d7d23b2f
commit 614920c40c

View File

@ -38,11 +38,6 @@ module.exports = function(RED) {
return;
}
if(!msg.userId) {
node.error("msg.userId was not set.");
return;
}
node.server.matrixClient.joinRoom(msg.topic, msg.joinOpts || {})
.then(function(e) {
msg.payload = e;