Mercurial > libervia-backend
diff sat/plugins/plugin_xep_0060.py @ 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 | 23af257ae780 |
children | 5901a7170528 |
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"