mirror of
https://github.com/Skylar-Tech/node-red-contrib-matrix-chat.git
synced 2025-04-20 21:13:08 -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(
|
matrixClient.login(
|
||||||
'm.login.password', {
|
'm.login.password', {
|
||||||
|
identifier: {
|
||||||
|
type: 'm.id.user',
|
||||||
user: userId,
|
user: userId,
|
||||||
|
},
|
||||||
password: password,
|
password: password,
|
||||||
initial_device_display_name: displayName
|
initial_device_display_name: displayName
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user