mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 10:25:35 +03:00
DeviceKeys
is now internal, removing unused code.
This commit is contained in:
parent
d07f26904a
commit
7eaef934db
2 changed files with 1 additions and 14 deletions
|
@ -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 a new issue