Skip to content

Commit

Permalink
Merge pull request #626 from FJEagle/devel_pullrequest
Browse files Browse the repository at this point in the history
Revert "Less strict mode detected violations"
  • Loading branch information
hannesa2 committed May 20, 2024
2 parents 7a332d5 + b58a5e4 commit 96024a4
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,10 +364,8 @@ internal class MqttConnection(
val message = MqttMessage(payload)
message.qos = qos.value
message.isRetained = retained
CoroutineScope(Dispatchers.IO).launch {
sendToken = myClient!!.publish(topic, payload, qos.value, retained, invocationContext, listener)
storeSendDetailsInMemory(topic, message, sendToken, invocationContext, activityToken)
}
sendToken = myClient!!.publish(topic, payload, qos.value, retained, invocationContext, listener)
storeSendDetailsInMemory(topic, message, sendToken, invocationContext, activityToken)
} catch (e: Exception) {
handleException(resultBundle, e)
}
Expand Down

0 comments on commit 96024a4

Please sign in to comment.