ioBroker / ioBroker.mqtt

Mqtt server and client for ioBroker.
MIT License
54 stars 30 forks source link

Retain messages are not published when subscribed #314

Open mickym2 opened 2 years ago

mickym2 commented 2 years ago

If the adapter is operated as broker - retained messages should be published even if the option to publish states when subscribed is not selected:

image

Currently either all states (with retained flag set or not) will be published when option to publish states when subscribed is selected or nothing. This is not the behaviour which is expected by an mqtt-broker.

image

fumanchi commented 1 month ago

seems to be the same issue as (or at least something to do with): https://github.com/ioBroker/ioBroker.mqtt/issues/157#issue-863723960