mod_pep: Note which subscriptions are presence based as subscription option
authorKim Alvefur <zash@zash.se>
Sun, 05 Aug 2018 01:56:36 +0200
changeset 9135 2aaa192e3da5
parent 9134 d0d676b86013
child 9136 2c1d68b54c91
mod_pep: Note which subscriptions are presence based as subscription option
plugins/mod_pep.lua
--- a/plugins/mod_pep.lua	Mon Aug 06 11:25:31 2018 +0100
+++ b/plugins/mod_pep.lua	Sun Aug 05 01:56:36 2018 +0200
@@ -353,7 +353,7 @@
 	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