Эх сурвалжийг харах

Revert default double puppet device name change

Tulir Asokan 3 жил өмнө
parent
commit
29812932c2
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      custompuppet.go

+ 2 - 2
custompuppet.go

@@ -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