oh my god I get it now
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-10-21 18:38:27 +02:00
parent 56cf63bb0a
commit b65be4e913
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -15,7 +15,7 @@ class MqttSubscriber() : MqttCallbackExtended {
connOpts.userName = "birbnetes" connOpts.userName = "birbnetes"
connOpts.password = "de4d2182".toCharArray() connOpts.password = "de4d2182".toCharArray()
connOpts.isAutomaticReconnect = true connOpts.isAutomaticReconnect = true
mqttClient.setCallback(MqttSubscriber()) mqttClient.setCallback(this)
} }
override fun connectionLost(arg0: Throwable) { override fun connectionLost(arg0: Throwable) {