aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_roster.lua
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 /plugins/mod_roster.lua
parent4bd562b3060e690522b35f0d1f806ddf4e559ebb (diff)
downloadprosody-6701f399ad2e7aa07683d5612dd7e32635fdcee3.tar.gz
prosody-6701f399ad2e7aa07683d5612dd7e32635fdcee3.zip
Added session property for interested resources
Diffstat (limited to 'plugins/mod_roster.lua')
-rw-r--r--plugins/mod_roster.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_roster.lua b/plugins/mod_roster.lua
index 8e2f6bbb..8a20f76d 100644
--- a/plugins/mod_roster.lua
+++ b/plugins/mod_roster.lua
@@ -26,6 +26,7 @@ add_iq_handler("c2s", "jabber:iq:roster",
end
end
send(session, roster);
+ session.interested = true; -- resource is interested in roster updates
return true;
elseif stanza.attr.type == "set" then
local query = stanza.tags[1];