mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
tools: fix generation of emails for un-deferred XEPs
This commit is contained in:
parent
fff5868bc4
commit
5ac81fe116
@ -99,6 +99,9 @@ def diff_infos(old, new):
|
||||
return Action.PROTO
|
||||
elif old["status"] is None:
|
||||
return Action.NEW
|
||||
elif (old["status"] == Status.DEFERRED and
|
||||
new["status"] == Status.EXPERIMENTAL):
|
||||
return Action.UPDATE
|
||||
else:
|
||||
return Action.fromstatus(new["status"])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user