chameleonbr / node-red-contrib-redis

Node RED client for Redis with pub/sub, list, lua scripting and other commands support.
MIT License
46 stars 40 forks source link

fix: command node always using msg topic and ignoring node topic #43

Closed rodolfoleal closed 3 years ago

rodolfoleal commented 3 years ago

When trying to setup a topic on a command node the topic was always with value "".

At the code the criteria was just checking just if the msg.topic was true, since it comes as a empty string was always true.

One question. Shouldn't the node.topic overrides the msg one?