multiple smaller fixes and improvements

This commit is contained in:
cubicroot 2022-02-11 22:10:05 +01:00
parent a1558f6f63
commit 728c84676c
4 changed files with 9 additions and 21 deletions

View file

@ -27,7 +27,7 @@ func Create(homeserver, username, password string, formatting configuration.Form
Type: mautrix.AuthTypePassword,
Identifier: mautrix.UserIdentifier{Type: mautrix.IdentifierTypeUser, User: username},
Password: password,
DeviceID: id.DeviceID("my-device"), // TODO make device ID configurable
DeviceID: id.DeviceID("pushbits"),
StoreCredentials: true,
})
if err != nil {