Skip to content

Commit

Permalink
Fix QoS/Retain in paho wrapper (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat authored Dec 26, 2019
1 parent 8d4ca17 commit de91013
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions paho/paho.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ func (c *pahoWrapper) Publish(topic string, qos byte, retained bool, payload int
context.Background(),
&mqtt.Message{
Topic: topic,
QoS: mqtt.QoS(qos),
Retain: retained,
Payload: p,
},
)
Expand Down

0 comments on commit de91013

Please sign in to comment.