Преглед изворни кода

Revert default double puppet device name change

Tulir Asokan пре 3 година
родитељ
комит
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