Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[server] Prefix discord msg with hostname

Neeraj Gupta4acc8395bae4
diff --git a/server/pkg/controller/discord/discord.go b/server/pkg/controller/discord/discord.go
index 2c07fe4041..94876c8149 100644
--- a/server/pkg/controller/discord/discord.go
+++ b/server/pkg/controller/discord/discord.go
@@ -106,7 +106,7 @@ func (c *DiscordController) NotifyAccountDelete(userID int64, paymentProvider st
}
func (c *DiscordController) NotifyPotentialAbuse(message string) {
- c.Notify(message)
+ c.Notify(fmt.Sprintf("%s: %s", c.HostName, message))
}
func (c *DiscordController) getTimeSinceSignUp(userID int64) string {