diff --git a/src/org/kde/kdeconnect/NetworkPacket.kt b/src/org/kde/kdeconnect/NetworkPacket.kt index f52dd3b6..125836c2 100644 --- a/src/org/kde/kdeconnect/NetworkPacket.kt +++ b/src/org/kde/kdeconnect/NetworkPacket.kt @@ -14,10 +14,10 @@ import java.io.InputStream import java.net.Socket import kotlin.concurrent.Volatile -data class NetworkPacket( +class NetworkPacket private constructor( val id: Long, val type: String, - val mBody: JSONObject, + private val mBody: JSONObject, var payload: Payload?, var payloadTransferInfo: JSONObject, ) {