changeset 3451:f37e6e78db12

plugin XEP-0060: add constants for common values of publish model
author Goffi <goffi@goffi.org>
date Fri, 11 Dec 2020 17:50:53 +0100
parents 66c4fc1f7c30
children bb0225aaf4e6
files sat/plugins/plugin_xep_0060.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0060.py	Fri Dec 11 17:49:44 2020 +0100
+++ b/sat/plugins/plugin_xep_0060.py	Fri Dec 11 17:50:53 2020 +0100
@@ -79,6 +79,9 @@
     ACCESS_PUBLISHER_ROSTER = "publisher-roster"
     ACCESS_AUTHORIZE = "authorize"
     ACCESS_WHITELIST = "whitelist"
+    PUBLISH_MODEL_PUBLISHERS = "publishers"
+    PUBLISH_MODEL_SUBSCRIBERS = "subscribers"
+    PUBLISH_MODEL_OPEN = "open"
     ID_SINGLETON = "current"
     EXTRA_PUBLISH_OPTIONS = "publish_options"
     EXTRA_ON_PRECOND_NOT_MET = "on_precondition_not_met"