remove publish message check

This commit is contained in:
Yuyan Zhou
2019-04-22 10:21:14 +08:00
parent 6193be74fa
commit edc46c1ee6

View File

@@ -197,9 +197,6 @@ func (c *client) ProcessPublish(packet *packets.PublishPacket) {
}
func (c *client) ProcessPublishMessage(packet *packets.PublishPacket) {
if c.status == Disconnected {
return
}
b := c.broker
if b == nil {