forked from mirror/mautrix-discord
Use discordgo as the protocol.id in the m.bridge event to differentiate from other discord bridges
This commit is contained in:
parent
11efa49961
commit
036b5f889f
2 changed files with 2 additions and 2 deletions
|
@ -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/",
|
||||
|
|
|
@ -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/",
|
||||
|
|
Loading…
Reference in a new issue