mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
using consistent parameter name
This commit is contained in:
parent
4f09160697
commit
7ac46a2fd1
@ -35,11 +35,11 @@ internal data class ChangePasswordParams(
|
||||
val logoutDevices: Boolean = true
|
||||
) {
|
||||
companion object {
|
||||
fun create(userId: String, oldPassword: String, newPassword: String, logoutDevices: Boolean): ChangePasswordParams {
|
||||
fun create(userId: String, oldPassword: String, newPassword: String, logoutAllDevices: Boolean): ChangePasswordParams {
|
||||
return ChangePasswordParams(
|
||||
auth = UserPasswordAuth(user = userId, password = oldPassword),
|
||||
newPassword = newPassword,
|
||||
logoutDevices = logoutDevices
|
||||
logoutDevices = logoutAllDevices
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user