changePassword
abstract suspend fun changePassword( password: String, newPassword: String, logoutAllDevices: Boolean = true)
Content copied to clipboard
Ask the homeserver to change the password.
Parameters
password
Current password.
newPassword
New password
logoutAllDevices
defaults to true, all devices will be logged out. False values will only be taken into account if org.matrix.android.sdk.api.session.homeserver.HomeServerCapabilities.canControlLogoutDevices is true.