subscribe to qos is not working
Closed this issue · 1 comments
Abenezer commented
from the mqtt.js docs i can see that topic can also be an object specifing qos like {'test1': {qos: 0}, 'test2': {qos: 1}}
but this does not work .. it should because the library pass the topic option directly to mqtt.js library
export default subscribe({ topic: {'test1': {qos: 0}, 'test2': {qos: 1}} })(MessageList)
Abenezer commented
i dont know if the docs on mqtt.js are wrong or only apply to the new version but this works
topic: {'test1': 0, 'test2': 1}
i still don't get why topic: {'test1': {qos: 0}, 'test2': {qos: 1}}
is not working .. but i am closing this.. this is mqtt issue