mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-27 01:54:43 +01:00
passing the control of logout devices to the homeserver capabilities model from the entity
This commit is contained in:
parent
6e3283cb34
commit
d9fd627bb1
@ -54,7 +54,12 @@ data class HomeServerCapabilities(
|
||||
/**
|
||||
* True if the home server support threading.
|
||||
*/
|
||||
val canUseThreading: Boolean = false
|
||||
val canUseThreading: Boolean = false,
|
||||
|
||||
/**
|
||||
* True if the home server supports controlling the logout of all devices when changing password.
|
||||
*/
|
||||
val canControlLogoutDevices: Boolean = false
|
||||
) {
|
||||
|
||||
enum class RoomCapabilitySupport {
|
||||
|
@ -42,7 +42,8 @@ internal object HomeServerCapabilitiesMapper {
|
||||
lastVersionIdentityServerSupported = entity.lastVersionIdentityServerSupported,
|
||||
defaultIdentityServerUrl = entity.defaultIdentityServerUrl,
|
||||
roomVersions = mapRoomVersion(entity.roomVersionsJson),
|
||||
canUseThreading = entity.canUseThreading
|
||||
canUseThreading = entity.canUseThreading,
|
||||
canControlLogoutDevices = entity.canControlLogoutDevices
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user