This commit is contained in:
CrazyMax
2020-10-07 23:10:53 +02:00
parent b57d49dae2
commit ab683e619d

View File

@@ -48,9 +48,9 @@ func (c *Client) Send(entry model.NotifEntry) error {
content.WriteString(fmt.Sprintf("@%s ", c.cfg.Mention))
}
if entry.Status == model.ImageStatusNew {
content.WriteString(fmt.Sprintf("@here New image %s has been added", entry.Image.String()))
content.WriteString(fmt.Sprintf("New image %s has been added", entry.Image.String()))
} else {
content.WriteString(fmt.Sprintf("@here Image update for %s", entry.Image.String()))
content.WriteString(fmt.Sprintf("Image update for %s", entry.Image.String()))
}
tagTpl := "**{{ .Entry.Image.Domain }}/{{ .Entry.Image.Path }}:{{ .Entry.Image.Tag }}**"