Skip to content

Commit

Permalink
Revert "Less strict mode detected violations"
Browse files Browse the repository at this point in the history
This reverts commit 39e5ed4.
  • Loading branch information
FJEagle committed May 20, 2024
1 parent 7a332d5 commit b58a5e4
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 b58a5e4

Please sign in to comment.