Software /
code /
prosody
Diff
plugins/mod_pep.lua @ 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 |
parent | 9114:ca5228a7d907 |
child | 9133:2c1d68b54c91 |
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