mirror of
https://github.com/crazy-max/diun.git
synced 2026-01-04 20:15:01 +01:00
Fix matrix login scheme (#487)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -56,8 +56,11 @@ func (c *Client) Send(entry model.NotifEntry) error {
|
||||
}
|
||||
|
||||
r, err := m.Login(&gomatrix.ReqLogin{
|
||||
Type: "m.login.password",
|
||||
User: user,
|
||||
Type: "m.login.password",
|
||||
Identifier: gomatrix.UserIdentifier{
|
||||
IDType: "m.id.user",
|
||||
User: user,
|
||||
},
|
||||
Password: password,
|
||||
InitialDeviceDisplayName: c.meta.Name,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user