Mercurial > libervia-backend
comparison sat/plugins/plugin_xep_0060.py @ 3468:36cac8e6f57d
plugin XEP-0060: added constants for overwrite policy configuration option
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 27 Feb 2021 18:25:20 +0100 |
parents | 5901a7170528 |
children | be6d91572633 |
comparison
equal
deleted
inserted
replaced
3467:5901a7170528 | 3468:36cac8e6f57d |
---|---|
71 OPT_NODE_TYPE = "pubsub#node_type" | 71 OPT_NODE_TYPE = "pubsub#node_type" |
72 OPT_SUBSCRIPTION_TYPE = "pubsub#subscription_type" | 72 OPT_SUBSCRIPTION_TYPE = "pubsub#subscription_type" |
73 OPT_SUBSCRIPTION_DEPTH = "pubsub#subscription_depth" | 73 OPT_SUBSCRIPTION_DEPTH = "pubsub#subscription_depth" |
74 OPT_ROSTER_GROUPS_ALLOWED = "pubsub#roster_groups_allowed" | 74 OPT_ROSTER_GROUPS_ALLOWED = "pubsub#roster_groups_allowed" |
75 OPT_PUBLISH_MODEL = "pubsub#publish_model" | 75 OPT_PUBLISH_MODEL = "pubsub#publish_model" |
76 OPT_OVERWRITE_POLICY = "pubsub#overwrite_policy" | |
76 ACCESS_OPEN = "open" | 77 ACCESS_OPEN = "open" |
77 ACCESS_PRESENCE = "presence" | 78 ACCESS_PRESENCE = "presence" |
78 ACCESS_ROSTER = "roster" | 79 ACCESS_ROSTER = "roster" |
79 ACCESS_PUBLISHER_ROSTER = "publisher-roster" | 80 ACCESS_PUBLISHER_ROSTER = "publisher-roster" |
80 ACCESS_AUTHORIZE = "authorize" | 81 ACCESS_AUTHORIZE = "authorize" |
81 ACCESS_WHITELIST = "whitelist" | 82 ACCESS_WHITELIST = "whitelist" |
82 PUBLISH_MODEL_PUBLISHERS = "publishers" | 83 PUBLISH_MODEL_PUBLISHERS = "publishers" |
83 PUBLISH_MODEL_SUBSCRIBERS = "subscribers" | 84 PUBLISH_MODEL_SUBSCRIBERS = "subscribers" |
84 PUBLISH_MODEL_OPEN = "open" | 85 PUBLISH_MODEL_OPEN = "open" |
86 OWPOL_ORIGINAL = "original_publisher" | |
87 OWPOL_ANY_PUB = "any_publisher" | |
85 ID_SINGLETON = "current" | 88 ID_SINGLETON = "current" |
86 EXTRA_PUBLISH_OPTIONS = "publish_options" | 89 EXTRA_PUBLISH_OPTIONS = "publish_options" |
87 EXTRA_ON_PRECOND_NOT_MET = "on_precondition_not_met" | 90 EXTRA_ON_PRECOND_NOT_MET = "on_precondition_not_met" |
88 | 91 |
89 def __init__(self, host): | 92 def __init__(self, host): |