Plumb proto

This commit is contained in:
Ben Meadors 2025-05-14 19:35:29 -05:00
parent 7196596cae
commit 3d04610690

View file

@ -15,6 +15,7 @@ extension NodeInfoEntity {
userProto.shortName = user.shortName ?? ""
userProto.hwModel = HardwareModel(rawValue: Int(user.hwModelId)) ?? .unset
userProto.isLicensed = user.isLicensed
userProto.isUnmessagable = false
userProto.role = Config.DeviceConfig.Role(rawValue: Int(user.role)) ?? .client
userProto.publicKey = user.publicKey?.subdata(in: 0..<user.publicKey!.count) ?? Data()
}