From b57ae7dc187bb7cd296d20e41f6f1535a03276b9 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 5 Aug 2018 01:56:36 +0200 Subject: mod_pep: Note which subscriptions are presence based as subscription option --- plugins/mod_pep.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_pep.lua') 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 -- cgit v1.2.3