mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 02:13:00 +08:00
Fix null ref in server when using interceptor
This commit is contained in:
@@ -227,7 +227,7 @@ namespace MQTTnet.Server
|
||||
}
|
||||
|
||||
var interceptorContext = new MqttApplicationMessageInterceptorContext(
|
||||
senderClientSession.ClientId,
|
||||
senderClientSession?.ClientId,
|
||||
applicationMessage);
|
||||
|
||||
interceptor(interceptorContext);
|
||||
|
||||
Reference in New Issue
Block a user