mirror of
https://github.com/Skylar-Tech/node-red-contrib-matrix-chat.git
synced 2025-04-19 20:43:04 -06:00
Merge pull request #114 from squatica/fix-deprecated-login
stop using deprecated login object
This commit is contained in:
commit
1b54bc03eb
@ -489,7 +489,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