diff --git a/portal.go b/portal.go index 4669821..605567f 100644 --- a/portal.go +++ b/portal.go @@ -1179,6 +1179,7 @@ func (portal *Portal) sendErrorMessage(msgType, message string, confirmed bool) if confirmed { certainty = "was not" } + message = strings.ReplaceAll(message, portal.RelayWebhookSecret, "") resp, err := portal.sendMatrixMessage(portal.MainIntent(), event.EventMessage, &event.MessageEventContent{ MsgType: event.MsgNotice, Body: fmt.Sprintf("\u26a0 Your %s %s bridged: %v", msgType, certainty, message),