# HG changeset patch # User Goffi # Date 1614446720 -3600 # Node ID 36cac8e6f57d32a878478bdebc07638700a54806 # Parent 5901a7170528ffe1abf42ad5e348ab22fc31f5db plugin XEP-0060: added constants for overwrite policy configuration option diff -r 5901a7170528 -r 36cac8e6f57d sat/plugins/plugin_xep_0060.py --- a/sat/plugins/plugin_xep_0060.py Fri Feb 19 15:53:27 2021 +0100 +++ b/sat/plugins/plugin_xep_0060.py Sat Feb 27 18:25:20 2021 +0100 @@ -73,6 +73,7 @@ OPT_SUBSCRIPTION_DEPTH = "pubsub#subscription_depth" OPT_ROSTER_GROUPS_ALLOWED = "pubsub#roster_groups_allowed" OPT_PUBLISH_MODEL = "pubsub#publish_model" + OPT_OVERWRITE_POLICY = "pubsub#overwrite_policy" ACCESS_OPEN = "open" ACCESS_PRESENCE = "presence" ACCESS_ROSTER = "roster" @@ -82,6 +83,8 @@ PUBLISH_MODEL_PUBLISHERS = "publishers" PUBLISH_MODEL_SUBSCRIBERS = "subscribers" PUBLISH_MODEL_OPEN = "open" + OWPOL_ORIGINAL = "original_publisher" + OWPOL_ANY_PUB = "any_publisher" ID_SINGLETON = "current" EXTRA_PUBLISH_OPTIONS = "publish_options" EXTRA_ON_PRECOND_NOT_MET = "on_precondition_not_met"