Commit 8a02fa76 by Danilo Bargen Committed by Marcus Efraimsson

ThreemaNotifier: Use fully qualified status emoji (#21305)

parent 673ccdc4
...@@ -132,11 +132,11 @@ func (notifier *ThreemaNotifier) Notify(evalContext *alerting.EvalContext) error ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment