util/pubsub.lua
changeset 9236 885dd6845e62
parent 9235 65c83bfcf2ee
child 9239 83375ec33619
equal deleted inserted replaced
9235:65c83bfcf2ee 9236:885dd6845e62
     9 	itemcheck = function () return true; end;
     9 	itemcheck = function () return true; end;
    10 	get_affiliation = function () end;
    10 	get_affiliation = function () end;
    11 	normalize_jid = function (jid) return jid; end;
    11 	normalize_jid = function (jid) return jid; end;
    12 	capabilities = {
    12 	capabilities = {
    13 		outcast = {
    13 		outcast = {
       
    14 			create = false;
       
    15 			publish = false;
       
    16 			retract = false;
       
    17 			get_nodes = false;
       
    18 
       
    19 			subscribe = false;
       
    20 			unsubscribe = false;
    14 			get_subscription = true;
    21 			get_subscription = true;
    15 			get_subscriptions = true;
    22 			get_subscriptions = true;
       
    23 			get_items = false;
       
    24 
       
    25 			subscribe_other = false;
       
    26 			unsubscribe_other = false;
       
    27 			get_subscription_other = false;
       
    28 			get_subscriptions_other = false;
       
    29 
    16 			be_subscribed = false;
    30 			be_subscribed = false;
    17 			be_unsubscribed = true;
    31 			be_unsubscribed = true;
       
    32 
       
    33 			set_affiliation = false;
    18 		};
    34 		};
    19 		none = {
    35 		none = {
    20 			create = false;
    36 			create = false;
    21 			publish = false;
    37 			publish = false;
    22 			retract = false;
    38 			retract = false;