0
0
Fork 0
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:
Jason Volk 2020-02-11 19:23:34 -08:00
parent 58382af029
commit 55f9947b52

View file

@ -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"_: