mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 06:37:37 +03:00
mod_pep: Note which subscriptions are presence based as subscription option
This commit is contained in:
parent
e657c53e5a
commit
b57ae7dc18
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue