Revert default double puppet device name change

This commit is contained in:
Tulir Asokan 2022-06-21 22:28:57 +03:00
parent 5b698b8c1c
commit 29812932c2

View file

@ -75,8 +75,8 @@ func (puppet *Puppet) loginWithSharedSecret(mxid id.UserID) (string, error) {
Type: mautrix.AuthTypePassword,
Identifier: mautrix.UserIdentifier{Type: mautrix.IdentifierTypeUser, User: string(mxid)},
Password: hex.EncodeToString(mac.Sum(nil)),
DeviceID: "WhatsApp bridge",
InitialDeviceDisplayName: "WhatsApp bridge",
DeviceID: "WhatsApp Bridge",
InitialDeviceDisplayName: "WhatsApp Bridge",
})
if err != nil {
return "", err