Software /
code /
prosody
Comparison
plugins/mod_pep.lua @ 9196:2fc56434c6e3
mod_pep: Remove already included access model feature
access-* is added in pubsub.lib based on node defaults
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 18 Aug 2018 14:29:13 +0200 |
parent | 9190:b88f537163da |
child | 9197:041a731c7a62 |
comparison
equal
deleted
inserted
replaced
9195:b6ffd4f951b9 | 9196:2fc56434c6e3 |
---|---|
408 local username = jid_split(reply.attr.from) or origin.username; | 408 local username = jid_split(reply.attr.from) or origin.username; |
409 local service = get_pep_service(username); | 409 local service = get_pep_service(username); |
410 | 410 |
411 local supported_features = lib_pubsub.get_feature_set(service) + set.new{ | 411 local supported_features = lib_pubsub.get_feature_set(service) + set.new{ |
412 -- Features not covered by the above | 412 -- Features not covered by the above |
413 "access-presence", | |
414 "auto-subscribe", | 413 "auto-subscribe", |
415 "filtered-notifications", | 414 "filtered-notifications", |
416 "last-published", | 415 "last-published", |
417 "persistent-items", | 416 "persistent-items", |
418 "presence-notifications", | 417 "presence-notifications", |