plugin XEP-0060: handle purge notifications

This commit is contained in:
Goffi 2021-07-29 15:54:54 +02:00
commit 42979a7140

View file

@ -237,9 +237,10 @@ class Const(object):
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 ##