00_MQTT2_SERVER.pm: send a message only once, event if it is subscribed twice (Forum #91394)
git-svn-id: https://svn.fhem.de/fhem/trunk@17919 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -445,6 +445,7 @@ MQTT2_SERVER_sendto($$$$)
|
||||
pack("n", length($topic)).
|
||||
$topic.$val);
|
||||
}
|
||||
last; # send a message only once
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user