2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

MQTT2_CLIENT.pm: MQTT over Websocket (Forum #111959)

git-svn-id: https://svn.fhem.de/fhem/trunk@27248 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2023-02-18 21:57:52 +00:00
parent a1e696ff09
commit 30f898d4a9

View File

@ -631,7 +631,7 @@ MQTT2_CLIENT_send($$;$$)
}
return if(!$doSend);
if($immediate) {
if($immediate || $hash->{WEBSOCKET}) {
DevIo_SimpleWrite($hash, $msg, 0);
} else {
addToWritebuffer($hash, $msg, undef, 1); # nolimit