Software /
code /
prosody
Comparison
core/stanza_router.lua @ 137:9a05dfb35dd5
Added TODO
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 23 Oct 2008 22:08:19 +0500 |
parent | 135:bf10d42dd41b |
child | 138:cb0dd442ca63 |
comparison
equal
deleted
inserted
replaced
136:39dc16f3bf55 | 137:9a05dfb35dd5 |
---|---|
85 if subscription == "both" or subscription == "to" then | 85 if subscription == "both" or subscription == "to" then |
86 probe.attr.to = jid; | 86 probe.attr.to = jid; |
87 core_route_stanza(origin, probe); | 87 core_route_stanza(origin, probe); |
88 end | 88 end |
89 end | 89 end |
90 -- TODO resend subscription requests | |
90 end | 91 end |
91 origin.presence = stanza; | 92 origin.presence = stanza; |
92 stanza.attr.to = nil; -- reset it | 93 stanza.attr.to = nil; -- reset it |
93 else | 94 else |
94 -- TODO error, bad type | 95 -- TODO error, bad type |