mirror of
https://github.com/Skylar-Tech/node-red-contrib-matrix-chat.git
synced 2025-04-20 13:03:12 -06:00
stop using deprecated login object
This commit is contained in:
parent
8a7fba39e8
commit
2b2da4faf7
@ -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
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user