feat: show names with a lock for DMs using PKC

This commit is contained in:
andrekir 2024-09-16 10:28:42 -03:00
parent 7e1ab62568
commit 2433cbc00a
3 changed files with 9 additions and 3 deletions

View file

@ -533,7 +533,7 @@ class MeshService : Service(), Logging {
dataType = data.portnumValue,
bytes = data.payload.toByteArray(),
hopLimit = packet.hopLimit,
channel = packet.channel,
channel = if (packet.pkiEncrypted) DataPacket.PKC_CHANNEL_INDEX else packet.channel,
)
}
}