aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Wielicki <j.wielicki@sotecware.net>2017-09-15 18:22:31 +0200
committerJonas Wielicki <j.wielicki@sotecware.net>2017-09-15 18:22:31 +0200
commit5ac81fe116b510331cf8bc60a2684d9a025c33d0 (patch)
tree1e69ffa1535c072895a5653c37b1cb2ced778e60
parentfff5868bc4b9fa5e56e2156c8581c632030172b6 (diff)
tools: fix generation of emails for un-deferred XEPs
-rwxr-xr-xtools/send-updates.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/send-updates.py b/tools/send-updates.py
index 09ac9c2..de48907 100755
--- a/tools/send-updates.py
+++ b/tools/send-updates.py
@@ -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"])