Skip to content

Commit

Permalink
don't report the topic that was asked for but that of the message
Browse files Browse the repository at this point in the history
  • Loading branch information
BBBSnowball committed Feb 4, 2019
1 parent 4cb6f59 commit 16e944d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rabbit_mqtt_processor.erl
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ maybe_send_retained_messages(RPid, StartMsgId, #proc_state{ send_fun = SendFun }
retain = Msg#mqtt_msg.retain
}, variable = #mqtt_frame_publish{
message_id = Id,
topic_name = S
topic_name = Msg#mqtt_msg.topic
},
payload = Msg#mqtt_msg.payload}, PState),
NextMsgId
Expand Down

0 comments on commit 16e944d

Please sign in to comment.