Set initial device name to "gomuks"

This commit is contained in:
Tulir Asokan 2018-04-16 21:30:34 +03:00
parent 262c34a45a
commit b0caa48db1

View File

@ -104,9 +104,10 @@ func (c *Container) Initialized() bool {
// Login sends a password login request with the given username and password.
func (c *Container) Login(user, password string) error {
resp, err := c.client.Login(&gomatrix.ReqLogin{
Type: "m.login.password",
User: user,
Password: password,
Type: "m.login.password",
User: user,
Password: password,
InitialDeviceDisplayName: "gomuks",
})
if err != nil {
return err