ThreemaNotifier: Use fully qualified status emoji (#21305)

This commit is contained in:
Danilo Bargen 2020-01-10 16:00:20 +01:00 committed by Marcus Efraimsson
parent 673ccdc448
commit 8a02fa7691

View File

@ -132,11 +132,11 @@ func (notifier *ThreemaNotifier) Notify(evalContext *alerting.EvalContext) error
stateEmoji := "" stateEmoji := ""
switch evalContext.Rule.State { switch evalContext.Rule.State {
case models.AlertStateOK: case models.AlertStateOK:
stateEmoji = "\u2705 " // White Heavy Check Mark stateEmoji = "\u2705 " // Check Mark Button
case models.AlertStateNoData: case models.AlertStateNoData:
stateEmoji = "\u2753 " // Black Question Mark Ornament stateEmoji = "\u2753\uFE0F " // Question Mark
case models.AlertStateAlerting: case models.AlertStateAlerting:
stateEmoji = "\u26A0 " // Warning sign stateEmoji = "\u26A0\uFE0F " // Warning sign
} }
// Build message // Build message