aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-08-05 01:56:36 +0200
committerKim Alvefur <zash@zash.se>2018-08-05 01:56:36 +0200
commitb57ae7dc187bb7cd296d20e41f6f1535a03276b9 (patch)
treed1493d793434fef3fd9d4cee6d2fd7ad8ac6d658 /plugins/mod_pep.lua
parente657c53e5a8b887f1ba45357ef0341e7abc064e7 (diff)
downloadprosody-b57ae7dc187bb7cd296d20e41f6f1535a03276b9.tar.gz
prosody-b57ae7dc187bb7cd296d20e41f6f1535a03276b9.zip
mod_pep: Note which subscriptions are presence based as subscription option
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r--plugins/mod_pep.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index 3b818c8d..42a01305 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -353,7 +353,7 @@ local function update_subscriptions(recipient, service_name, nodes)
end
for node in nodes - current do
- service:add_subscription(node, recipient, recipient);
+ service:add_subscription(node, recipient, recipient, { presence = true });
resend_last_item(recipient, node, service);
end