diff sat/core/constants.py @ 3587:2715da5b2aa7

plugin XEP-0060: handle purge notifications
author Goffi <goffi@goffi.org>
date Thu, 29 Jul 2021 15:54:54 +0200
parents 509f7a1c67dc
children 5d108ce026d7
line wrap: on
line diff
--- a/sat/core/constants.py	Wed Jul 28 23:01:15 2021 +0200
+++ b/sat/core/constants.py	Thu Jul 29 15:54:54 2021 +0200
@@ -237,9 +237,10 @@
     PS_PUBLISH = "publish"
     PS_RETRACT = "retract"  # used for items
     PS_DELETE = "delete"  # used for nodes
+    PS_PURGE = "purge"  # used for nodes
     PS_ITEM = "item"
     PS_ITEMS = "items"  # Can contain publish and retract items
-    PS_EVENTS = (PS_ITEMS, PS_DELETE)
+    PS_EVENTS = (PS_ITEMS, PS_DELETE, PS_PURGE)
 
     ## MESSAGE/NOTIFICATION LEVELS ##