mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ThreemaNotifier: Use fully qualified status emoji (#21305)
This commit is contained in:
parent
673ccdc448
commit
8a02fa7691
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user