Mercurial > prosody-hg
comparison core/presencemanager.lua @ 785:31d5be1371cf
Merge with waqas for MUC/routing fixes
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 11 Feb 2009 18:30:44 +0000 |
| parents | 4417ab6ccc20 |
| children | 27978a3f2c0c |
comparison
equal
deleted
inserted
replaced
| 776:89eb9f59993c | 785:31d5be1371cf |
|---|---|
| 95 end | 95 end |
| 96 origin.priority = 0; | 96 origin.priority = 0; |
| 97 if stanza.attr.type == "unavailable" then | 97 if stanza.attr.type == "unavailable" then |
| 98 origin.presence = nil; | 98 origin.presence = nil; |
| 99 if origin.directed then | 99 if origin.directed then |
| 100 for _, jid in ipairs(origin.directed) do | 100 for jid in pairs(origin.directed) do |
| 101 stanza.attr.to = jid; | 101 stanza.attr.to = jid; |
| 102 core_route_stanza(origin, stanza); | 102 core_route_stanza(origin, stanza); |
| 103 end | 103 end |
| 104 origin.directed = nil; | 104 origin.directed = nil; |
| 105 end | 105 end |
