mirror of
https://github.com/eliasstepanik/strudel.git
synced 2026-01-11 05:38:35 +00:00
Bugfix: update mqtt connections dictionary (#1281)
This commit is contained in:
parent
07b0a2e0f0
commit
cda79f3e5c
@ -57,6 +57,7 @@ Pattern.prototype.mqtt = function (
|
|||||||
cx = connections[key];
|
cx = connections[key];
|
||||||
} else {
|
} else {
|
||||||
cx = new Paho.Client(host, client);
|
cx = new Paho.Client(host, client);
|
||||||
|
connections[key] = cx;
|
||||||
cx.onConnectionLost = onConnectionLost;
|
cx.onConnectionLost = onConnectionLost;
|
||||||
cx.onMessageArrived = onMessageArrived;
|
cx.onMessageArrived = onMessageArrived;
|
||||||
const props = {
|
const props = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user