diff --git a/community.go b/community.go index 849fbca..4544a66 100644 --- a/community.go +++ b/community.go @@ -22,7 +22,7 @@ func (user *User) updateCommunityProfile() { Name string `json:"name"` AvatarURL string `json:"avatar_url"` ShortDescription string `json:"short_description"` - }{"WhatsApp", user.bridge.Config.AppService.Bot.Avatar, "Your WhatsApp bridged chats"} + }{"Skype", user.bridge.Config.AppService.Bot.Avatar, "Your Skype bridged chats"} _, err := user.bridge.Bot.MakeRequest(http.MethodPost, url, &profileReq, nil) if err != nil { user.log.Warnfln("Failed to update metadata of %s: %v", user.CommunityID, err) diff --git a/crypto.go b/crypto.go index 709325e..f67db9a 100644 --- a/crypto.go +++ b/crypto.go @@ -138,7 +138,7 @@ func (helper *CryptoHelper) loginBot() (*mautrix.Client, error) { Type: mautrix.AuthTypeAppservice, Identifier: mautrix.UserIdentifier{Type: mautrix.IdentifierTypeUser, User: string(helper.bridge.AS.BotMXID())}, DeviceID: deviceID, - InitialDeviceDisplayName: "WhatsApp Bridge", + InitialDeviceDisplayName: "Skype Bridge", StoreCredentials: true, }) if err != nil { @@ -166,7 +166,7 @@ func (helper *CryptoHelper) loginBotOld() (*mautrix.Client, error) { Identifier: mautrix.UserIdentifier{Type: mautrix.IdentifierTypeUser, User: string(helper.bridge.AS.BotMXID())}, Password: hex.EncodeToString(mac.Sum(nil)), DeviceID: deviceID, - InitialDeviceDisplayName: "WhatsApp Bridge", + InitialDeviceDisplayName: "Skype Bridge", StoreCredentials: true, }) if err != nil { diff --git a/custompuppet.go b/custompuppet.go index 91ea32c..58cab5c 100644 --- a/custompuppet.go +++ b/custompuppet.go @@ -51,8 +51,8 @@ func (puppet *Puppet) loginWithSharedSecret(mxid id.UserID) (string, error) { Type: "m.login.password", Identifier: mautrix.UserIdentifier{Type: "m.id.user", User: string(mxid)}, Password: hex.EncodeToString(mac.Sum(nil)), - DeviceID: "WhatsApp Bridge", - InitialDeviceDisplayName: "WhatsApp Bridge", + DeviceID: "Skype Bridge", + InitialDeviceDisplayName: "Skype Bridge", }) if err != nil { return "", err diff --git a/user.go b/user.go index f567ffe..89bed9d 100644 --- a/user.go +++ b/user.go @@ -183,7 +183,7 @@ func (user *User) GetManagementRoom() id.RoomID { return user.ManagementRoom } resp, err := user.bridge.Bot.CreateRoom(&mautrix.ReqCreateRoom{ - Topic: "WhatsApp bridge notices", + Topic: "Skype bridge notices", IsDirect: true, }) if err != nil {