mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: add user.id as unique mqtt client identifier
This commit is contained in:
parent
55a0714ee7
commit
f73e7fd301
5 changed files with 12 additions and 36 deletions
|
|
@ -1376,7 +1376,7 @@ class MeshService : Service(), Logging {
|
|||
with(message) {
|
||||
when (payloadVariantCase) {
|
||||
MeshProtos.MqttClientProxyMessage.PayloadVariantCase.TEXT -> {
|
||||
mqttRepository.publish(topic, text, retained)
|
||||
mqttRepository.publish(topic, text.encodeToByteArray(), retained)
|
||||
}
|
||||
|
||||
MeshProtos.MqttClientProxyMessage.PayloadVariantCase.DATA -> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue