BEagle1984 / silverback

Silverback is a simple but feature-rich message bus for .NET core (it currently supports Kafka, RabbitMQ and MQTT).
https://silverback-messaging.net
MIT License
257 stars 37 forks source link

fix: null check for message UserProperties #174

Closed manuelamateo closed 1 year ago

manuelamateo commented 1 year ago

After the update to MQTTnet 4.x the UserProperties of a message without user properties were null and caused an error in the method ToSilverbackHeaders.

BEagle1984 commented 1 year ago

Thank you @manuelamateo ❤️