liquid_feedback_frontend

view env/lf4rcs/notification_handler.lua @ 1413:3dbfac432576

Fixed endless loop while sending notification when not issue is created yet
author bsw
date Sun Aug 26 13:38:14 2018 +0200 (2018-08-26)
parents 30523f31b186
children
line source
1 function lf4rcs.notification_handler(event)
2 if event.event == "issue_state_changed" and (
3 event.state ~= "admission" and
4 event.state ~= "discussion" and
5 event.state ~= "verification" and
6 event.state ~= "voting"
7 ) then
8 lf4rcs.commit(event.issue)
9 end
10 end

Impressum / About Us