Skip to content

Commit

Permalink
增加注释注意此处代码不要删除,是用来做消息转发给设备端之外的其他端使用的。
Browse files Browse the repository at this point in the history
  • Loading branch information
猿人易 committed Jan 26, 2024
1 parent 8615008 commit b47beb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NewLife.MQTT/Handlers/IMqttHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ protected virtual UnsubAck OnUnsubscribe(UnsubscribeMessage message)
QoS = qos,
};

// 注意此处代码不要删除,是用来做消息转发给设备端之外的其他端使用的。
if (AllowExchange)
Exchange?.Publish(message);

Expand Down

0 comments on commit b47beb6

Please sign in to comment.