mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-22 09:12:19 -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
|
return Action.PROTO
|
||||||
elif old["status"] is None:
|
elif old["status"] is None:
|
||||||
return Action.NEW
|
return Action.NEW
|
||||||
|
elif (old["status"] == Status.DEFERRED and
|
||||||
|
new["status"] == Status.EXPERIMENTAL):
|
||||||
|
return Action.UPDATE
|
||||||
else:
|
else:
|
||||||
return Action.fromstatus(new["status"])
|
return Action.fromstatus(new["status"])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user