Set string.Empty as default value for SenderClientId (#1583)

This commit is contained in:
老九
2022-11-26 14:50:08 +01:00
committed by GitHub
parent 32cc1ff7b1
commit bda4ab7025
@@ -13,8 +13,8 @@ namespace MQTTnet.Server
{
ApplicationMessage = applicationMessage ?? throw new ArgumentNullException(nameof(applicationMessage));
}
public string SenderClientId { get; set; }
public string SenderClientId { get; set; } = string.Empty;
public MqttApplicationMessage ApplicationMessage { get; set; }
}