mirror of
https://github.com/tsightler/ring-mqtt.git
synced 2025-11-02 12:54:04 +08:00
Bump package versions
This commit is contained in:
@@ -18,9 +18,7 @@ class Mqtt {
|
||||
})
|
||||
|
||||
utils.event.on('mqtt_publish', (topic, message) => {
|
||||
this.client.publish(topic, (typeof message === 'number') ? message.toString() : message, { qos: 1 }, () => {
|
||||
// Just a dummy callback to prevent MQTT memory leak in 4.3.5/4.3.6
|
||||
})
|
||||
this.client.publish(topic, (typeof message === 'number') ? message.toString() : message, { qos: 1 })
|
||||
})
|
||||
|
||||
utils.event.on('mqtt_subscribe', (topic) => {
|
||||
|
||||
Reference in New Issue
Block a user