mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
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/fhem@17919 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f8d513f0a8
commit
d9e9d12333
@ -445,6 +445,7 @@ MQTT2_SERVER_sendto($$$$)
|
|||||||
pack("n", length($topic)).
|
pack("n", length($topic)).
|
||||||
$topic.$val);
|
$topic.$val);
|
||||||
}
|
}
|
||||||
|
last; # send a message only once
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user