comparison 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
comparison
equal deleted inserted replaced
3450:66c4fc1f7c30 3451:f37e6e78db12
77 ACCESS_PRESENCE = "presence" 77 ACCESS_PRESENCE = "presence"
78 ACCESS_ROSTER = "roster" 78 ACCESS_ROSTER = "roster"
79 ACCESS_PUBLISHER_ROSTER = "publisher-roster" 79 ACCESS_PUBLISHER_ROSTER = "publisher-roster"
80 ACCESS_AUTHORIZE = "authorize" 80 ACCESS_AUTHORIZE = "authorize"
81 ACCESS_WHITELIST = "whitelist" 81 ACCESS_WHITELIST = "whitelist"
82 PUBLISH_MODEL_PUBLISHERS = "publishers"
83 PUBLISH_MODEL_SUBSCRIBERS = "subscribers"
84 PUBLISH_MODEL_OPEN = "open"
82 ID_SINGLETON = "current" 85 ID_SINGLETON = "current"
83 EXTRA_PUBLISH_OPTIONS = "publish_options" 86 EXTRA_PUBLISH_OPTIONS = "publish_options"
84 EXTRA_ON_PRECOND_NOT_MET = "on_precondition_not_met" 87 EXTRA_ON_PRECOND_NOT_MET = "on_precondition_not_met"
85 88
86 def __init__(self, host): 89 def __init__(self, host):