stop using deprecated login object

This commit is contained in:
squatica 2024-05-06 20:53:04 +02:00 committed by GitHub
parent 8a7fba39e8
commit 2b2da4faf7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -455,7 +455,10 @@ module.exports = function(RED) {
matrixClient.login(
'm.login.password', {
user: userId,
identifier: {
type: 'm.id.user',
user: userId,
},
password: password,
initial_device_display_name: displayName
})