Use discordgo as the protocol.id in the m.bridge event to differentiate from other discord bridges

This commit is contained in:
Brad Murray 2022-07-20 10:32:51 -04:00
parent 11efa49961
commit 036b5f889f
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ func (guild *Guild) getBridgeInfo() (string, event.BridgeEventContent) {
BridgeBot: guild.bridge.Bot.UserID,
Creator: guild.bridge.Bot.UserID,
Protocol: event.BridgeInfoSection{
ID: "discord",
ID: "discordgo",
DisplayName: "Discord",
AvatarURL: guild.bridge.Config.AppService.Bot.ParsedAvatar.CUString(),
ExternalURL: "https://discord.com/",

View file

@ -247,7 +247,7 @@ func (portal *Portal) getBridgeInfo() (string, event.BridgeEventContent) {
BridgeBot: portal.bridge.Bot.UserID,
Creator: portal.MainIntent().UserID,
Protocol: event.BridgeInfoSection{
ID: "discord",
ID: "discordgo",
DisplayName: "Discord",
AvatarURL: portal.bridge.Config.AppService.Bot.ParsedAvatar.CUString(),
ExternalURL: "https://discord.com/",