mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Don't favorite client base
This commit is contained in:
parent
ec5dfd5ae3
commit
b51b5aaec0
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ extension AccessoryManager {
|
|||
var contact = SharedContact()
|
||||
contact.manuallyVerified = false
|
||||
contact.nodeNum = UInt32(truncatingIfNeeded: user.num)
|
||||
user.userNode?.favorite = true
|
||||
user.userNode?.favorite = user.userNode?.deviceConfig?.role ?? 0 != DeviceRoles.clientBase.rawValue
|
||||
contact.user = user.toProto()
|
||||
do {
|
||||
let contactString = try contact.serializedData().base64EncodedString()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue