Mercurial > libervia-pubsub
diff sat_pubsub/const.py @ 260:f0cd02c032b3
publish model management
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 06 May 2013 00:26:37 +0200 |
parents | 6fe7da6b4b32 |
children | 9dfd3890e646 |
line wrap: on
line diff
--- a/sat_pubsub/const.py Mon May 06 00:11:44 2013 +0200 +++ b/sat_pubsub/const.py Mon May 06 00:26:37 2013 +0200 @@ -57,7 +57,12 @@ NS_ITEM_CONFIG = "http://jabber.org/protocol/pubsub#item-config" OPT_ACCESS_MODEL = 'pubsub#access_model' OPT_ROSTER_GROUPS_ALLOWED = 'pubsub#roster_groups_allowed' +OPT_PUBLISH_MODEL = 'pubsub#publish_model' VAL_AMODEL_OPEN = 'open' VAL_AMODEL_ROSTER = 'roster' VAL_AMODEL_JID = 'jid' VAL_AMODEL_DEFAULT = VAL_AMODEL_OPEN +VAL_PMODEL_PUBLISHERS = 'publishers' +VAL_PMODEL_SUBSCRIBERS = 'subscribers' +VAL_PMODEL_OPEN = 'open' +VAL_PMODEL_DEFAULT = VAL_PMODEL_PUBLISHERS