mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
modules/web_hook: Add annotation for failure status.
This commit is contained in:
parent
58382af029
commit
55f9947b52
1 changed files with 1 additions and 0 deletions
|
@ -1108,6 +1108,7 @@ github_handle__status(std::ostream &out,
|
||||||
if(push_event_id) switch(hash(state))
|
if(push_event_id) switch(hash(state))
|
||||||
{
|
{
|
||||||
case "failure"_:
|
case "failure"_:
|
||||||
|
m::annotate(_webhook_room, _webhook_user, push_event_id, "🔴");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "pending"_:
|
case "pending"_:
|
||||||
|
|
Loading…
Reference in a new issue