mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-15 00:15:15 +08:00
Set string.Empty as default value for SenderClientId (#1583)
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user