diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-10-18 11:43:07 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-10-18 11:43:07 +0100 |
commit | 4d367d534969d3e0070b4e9f85d4810dbfdfe25a (patch) | |
tree | 994e6873854c6ebb82e400ac408b26220a047562 | |
parent | 1bc60c3621e3e2a091ac0bd65ecba9dc50ff15be (diff) | |
download | prosody-4d367d534969d3e0070b4e9f85d4810dbfdfe25a.tar.gz prosody-4d367d534969d3e0070b4e9f85d4810dbfdfe25a.zip |
mod_pep_plus: Fix a typo.
-rw-r--r-- | plugins/mod_pep_plus.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_pep_plus.lua b/plugins/mod_pep_plus.lua index d39d53c7..cd7dfc01 100644 --- a/plugins/mod_pep_plus.lua +++ b/plugins/mod_pep_plus.lua @@ -416,7 +416,7 @@ module:hook("account-disco-info", function(event) local username = jid_split(reply.attr.from) or origin.username; local service = get_pep_service(username); - local suppored_features = lib_pubsub.get_feature_set(service) + set.new{ + local supported_features = lib_pubsub.get_feature_set(service) + set.new{ -- Features not covered by the above "access-presence", "auto-subscribe", @@ -427,7 +427,7 @@ module:hook("account-disco-info", function(event) "presence-subscribe", }; - for feature in suppored_features do + for feature in supported_features do reply:tag('feature', {var=xmlns_pubsub.."#"..feature}):up(); end end); |