diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-08-06 08:21:55 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-08-06 08:21:55 +0100 |
commit | 96509275b883522d8a16bed56c998a2a2fe0424f (patch) | |
tree | 8a905f8eee3e7772c11f811003d310094f78d6a2 /plugins/mod_pubsub/mod_pubsub.lua | |
parent | 56b0cd35c6768193b5c237c176339f176b73f1a2 (diff) | |
parent | 27bbd90669cf314d6945892456e4ed0a20590302 (diff) | |
download | prosody-96509275b883522d8a16bed56c998a2a2fe0424f.tar.gz prosody-96509275b883522d8a16bed56c998a2a2fe0424f.zip |
Merge with jonasw
Diffstat (limited to 'plugins/mod_pubsub/mod_pubsub.lua')
-rw-r--r-- | plugins/mod_pubsub/mod_pubsub.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua index 113ee2b3..25b5192d 100644 --- a/plugins/mod_pubsub/mod_pubsub.lua +++ b/plugins/mod_pubsub/mod_pubsub.lua @@ -150,6 +150,10 @@ local function get_affiliation(jid) end end +function get_service() + return service; +end + function set_service(new_service) service = new_service; module.environment.service = service; @@ -196,6 +200,7 @@ function module.load() publish = true; retract = true; get_nodes = true; + get_configuration = true; subscribe = true; unsubscribe = true; @@ -220,6 +225,7 @@ function module.load() delete = true; get_nodes = true; configure = true; + get_configuration = true; subscribe = true; unsubscribe = true; |