Skip to content

Commit

Permalink
update mqtt on primaryHost connection update
Browse files Browse the repository at this point in the history
  • Loading branch information
joyja committed Mar 23, 2020
1 parent 51139a3 commit fa56583
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/service/mqtt.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ class Mqtt extends Model {
host.readyForData = false
}
}
this.pubsub.publish('serviceUpdate', {
serviceUpdate: this.mqtt.service
})
})
}
})
Expand Down

0 comments on commit fa56583

Please sign in to comment.