Software /
code /
prosody
Changeset
8342:0c0990a575de
mod_pep_plus: Fix a typo.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 18 Oct 2017 11:43:07 +0100 |
parents | 8341:910d3c3f60a6 |
children | 8343:5df2f240173b |
files | plugins/mod_pep_plus.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_pep_plus.lua Wed Oct 18 09:43:43 2017 +0200 +++ b/plugins/mod_pep_plus.lua Wed Oct 18 11:43:07 2017 +0100 @@ -416,7 +416,7 @@ 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 @@ "presence-subscribe", }; - for feature in suppored_features do + for feature in supported_features do reply:tag('feature', {var=xmlns_pubsub.."#"..feature}):up(); end end);