aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-10-23 02:11:27 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-10-23 02:11:27 +0500
commit6701f399ad2e7aa07683d5612dd7e32635fdcee3 (patch)
tree2a7ae8abb456b5aedf9a2a033300b10250cf8f94 /core
parent4bd562b3060e690522b35f0d1f806ddf4e559ebb (diff)
downloadprosody-6701f399ad2e7aa07683d5612dd7e32635fdcee3.tar.gz
prosody-6701f399ad2e7aa07683d5612dd7e32635fdcee3.zip
Added session property for interested resources
Diffstat (limited to 'core')
-rw-r--r--core/rostermanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/rostermanager.lua b/core/rostermanager.lua
index c1fa3dea..26a14256 100644
--- a/core/rostermanager.lua
+++ b/core/rostermanager.lua
@@ -76,7 +76,7 @@ function roster_push(username, host, jid)
stanza:up();
-- stanza ready
for _, session in pairs(hosts[host].sessions[username].sessions) do
- if session.full_jid then
+ if session.interested then
-- FIXME do we need to set stanza.attr.to?
session.send(stanza);
end