From fcbe2e32f635a08249e34832118ec152d72d5243 Mon Sep 17 00:00:00 2001 From: "tamas.kurucsai" Date: Mon, 18 Jan 2021 17:58:49 +0100 Subject: [PATCH] corrected name of response sender method --- Source/MQTTnet/Client/MqttClient.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/MQTTnet/Client/MqttClient.cs b/Source/MQTTnet/Client/MqttClient.cs index 1ba8905..bbdaca9 100644 --- a/Source/MQTTnet/Client/MqttClient.cs +++ b/Source/MQTTnet/Client/MqttClient.cs @@ -646,7 +646,7 @@ namespace MQTTnet.Client ReasonCode = MqttPubAckReasonCode.Success }; - await PublishResponseForReceivedPublishPacket(publishResult, pubAckPacket, cancellationToken).ConfigureAwait(false); + await SendResponseForReceivedPublishPacket(publishResult, pubAckPacket, cancellationToken).ConfigureAwait(false); } } else if (publishPacket.QualityOfServiceLevel == MqttQualityOfServiceLevel.ExactlyOnce) @@ -659,7 +659,7 @@ namespace MQTTnet.Client ReasonCode = MqttPubRecReasonCode.Success }; - await PublishResponseForReceivedPublishPacket(publishResult, pubRecPacket, cancellationToken).ConfigureAwait(false); + await SendResponseForReceivedPublishPacket(publishResult, pubRecPacket, cancellationToken).ConfigureAwait(false); } } else @@ -677,7 +677,7 @@ namespace MQTTnet.Client } } - async Task PublishResponseForReceivedPublishPacket(ReceivedApplicationMessageResult publishResult, MqttBasePacket resultPacket, CancellationToken cancellationToken) + async Task SendResponseForReceivedPublishPacket(ReceivedApplicationMessageResult publishResult, MqttBasePacket resultPacket, CancellationToken cancellationToken) { if (publishResult.PendingTask == null) {