Pass correct clientId to Unsubscribe interceptor (#1631)

This commit is contained in:
ghord
2022-12-23 17:02:03 +01:00
committed by GitHub
parent 795139d78f
commit abe7bbda15
@@ -483,7 +483,7 @@ namespace MQTTnet.Server
async Task<InterceptingUnsubscriptionEventArgs> InterceptUnsubscribe(string topicFilter, MqttSubscription mqttSubscription, CancellationToken cancellationToken)
{
var clientUnsubscribingTopicEventArgs = new InterceptingUnsubscriptionEventArgs(cancellationToken, topicFilter, _session.Items, topicFilter)
var clientUnsubscribingTopicEventArgs = new InterceptingUnsubscriptionEventArgs(cancellationToken, _session.Id, _session.Items, topicFilter)
{
Response =
{