0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +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))
{
case "failure"_:
m::annotate(_webhook_room, _webhook_user, push_event_id, "🔴");
break;
case "pending"_: