Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kickster97 committed Oct 21, 2024
1 parent 5b05ff1 commit 7cfbfa1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lavinmq/mqtt/broker.cr
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ module LavinMQ
packet.topic_filters.each do |tf|
qos << MQTT::SubAck::ReturnCode.from_int(tf.qos)
session.subscribe(tf.topic, tf.qos)

#Publish retained messages
@retain_store.each(tf.topic) do |topic, body|
rk = topicfilter_to_routingkey(topic)
msg = Message.new("mqtt.default", rk, String.new(body),
Expand Down

0 comments on commit 7cfbfa1

Please sign in to comment.