Changeset

9132:2aaa192e3da5

mod_pep: Note which subscriptions are presence based as subscription option
author Kim Alvefur <zash@zash.se>
date Sun, 05 Aug 2018 01:56:36 +0200
parents 9131:d0d676b86013
children 9133:2c1d68b54c91
files plugins/mod_pep.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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