Software /
code /
prosody
Diff
core/rostermanager.lua @ 114:bed2a8508cf5
Added session property for interested resources
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 23 Oct 2008 02:11:27 +0500 |
parent | 110:bb5ac5976a97 |
child | 132:9a4aa57af367 |
line wrap: on
line diff
--- a/core/rostermanager.lua Thu Oct 23 00:46:38 2008 +0500 +++ b/core/rostermanager.lua Thu Oct 23 02:11:27 2008 +0500 @@ -76,7 +76,7 @@ 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