Fix null ref in server when using interceptor

This commit is contained in:
Christian
2018-03-13 20:23:22 +01:00
parent 6e828d091f
commit 56acc82445
@@ -227,7 +227,7 @@ namespace MQTTnet.Server
}
var interceptorContext = new MqttApplicationMessageInterceptorContext(
senderClientSession.ClientId,
senderClientSession?.ClientId,
applicationMessage);
interceptor(interceptorContext);