`DeviceKeys` is now internal, removing unused code.
This commit is contained in:
parent
d07f26904a
commit
7eaef934db
|
@ -144,19 +144,6 @@ data class MXDeviceInfo(
|
|||
return map
|
||||
}
|
||||
|
||||
/**
|
||||
* @return a dictionary of the parameters
|
||||
*/
|
||||
fun toDeviceKeys(): DeviceKeys {
|
||||
return DeviceKeys(
|
||||
userId = userId,
|
||||
deviceId = deviceId,
|
||||
algorithms = algorithms!!,
|
||||
keys = keys!!,
|
||||
signatures = signatures!!
|
||||
)
|
||||
}
|
||||
|
||||
override fun toString(): String {
|
||||
return "MXDeviceInfo $userId:$deviceId"
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ import com.squareup.moshi.Json
|
|||
import com.squareup.moshi.JsonClass
|
||||
|
||||
@JsonClass(generateAdapter = true)
|
||||
data class DeviceKeys(
|
||||
internal data class DeviceKeys(
|
||||
/**
|
||||
* Required. The ID of the user the device belongs to. Must match the user ID used when logging in.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue