liquid_feedback_frontend

view env/lf4rcs/notification_handler.lua @ 1451:fc89a38b52c5

Fixed wrong nesting
author bsw
date Thu Oct 18 17:18:19 2018 +0200 (2018-10-18)
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