2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 22:25:08 +00:00

Added a comment

This commit is contained in:
Albert Vaca Cintora
2024-05-02 12:19:08 +02:00
parent eb5719d9a2
commit 411bcc3960

View File

@@ -89,7 +89,7 @@ class DeviceInfo(
fun fromIdentityPacketAndCert(identityPacket: NetworkPacket, certificate: Certificate) =
with(identityPacket) {
DeviceInfo(
id = getString("deviceId"),
id = getString("deviceId"), // Redundant: We could read this from the certificate instead
name = getString("deviceName", "unknown"),
type = DeviceType.fromString(getString("deviceType", "desktop")),
certificate = certificate,