mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
add packet filter for message lock icon
This commit is contained in:
parent
1adf9d9d58
commit
aee1a31e8e
1 changed files with 1 additions and 1 deletions
|
|
@ -876,7 +876,7 @@ func textMessageAppPacket(
|
|||
if fetchedUsers.first(where: { $0.num == packet.from }) != nil {
|
||||
newMessage.fromUser = fetchedUsers.first(where: { $0.num == packet.from })
|
||||
/// Set the public key for the message
|
||||
if newMessage.fromUser?.pkiEncrypted ?? false {
|
||||
if newMessage.fromUser?.pkiEncrypted ?? false && packet.pkiEncrypted {
|
||||
newMessage.pkiEncrypted = true
|
||||
newMessage.publicKey = packet.publicKey
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue