mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +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:
parent
a1e696ff09
commit
30f898d4a9
@ -631,7 +631,7 @@ MQTT2_CLIENT_send($$;$$)
|
|||||||
}
|
}
|
||||||
return if(!$doSend);
|
return if(!$doSend);
|
||||||
|
|
||||||
if($immediate) {
|
if($immediate || $hash->{WEBSOCKET}) {
|
||||||
DevIo_SimpleWrite($hash, $msg, 0);
|
DevIo_SimpleWrite($hash, $msg, 0);
|
||||||
} else {
|
} else {
|
||||||
addToWritebuffer($hash, $msg, undef, 1); # nolimit
|
addToWritebuffer($hash, $msg, undef, 1); # nolimit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user