0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

modules/webhook: Mute all watch events and just allow star events.

This commit is contained in:
Jason Volk 2019-06-04 00:02:56 -07:00
parent 4329e0c338
commit 06e7d94aef

View file

@ -1020,7 +1020,10 @@ github_handle__watch(std::ostream &out,
if(action != "started")
return false;
return true;
// There appears to be no way to distinguish between a genuine watch
// button click and just a star; the watch event is sent for both.
// Returning false just disables this event so there's no double-message.
return false;
}
bool