Software /
code /
prosody
Comparison
core/stanza_router.lua @ 159:d71454f97faf
Fix nil concat when non-existant user is probed (another)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 24 Oct 2008 15:18:53 +0100 |
parent | 158:7ea96f944681 |
child | 160:018c7f5ef0ea |
comparison
equal
deleted
inserted
replaced
158:7ea96f944681 | 159:d71454f97faf |
---|---|
196 pres.attr.to = nil; | 196 pres.attr.to = nil; |
197 pres.attr.from = nil; | 197 pres.attr.from = nil; |
198 end | 198 end |
199 end | 199 end |
200 else | 200 else |
201 send(origin, st.presence({from=user.."@"..host, to=origin.username.."@"..origin.host, type="unsubscribed"})); | 201 send(origin, st.presence({from=user.."@"..host, to=stanza.attr.from, type="unsubscribed"})); |
202 end | 202 end |
203 elseif stanza.attr.type == "subscribe" then | 203 elseif stanza.attr.type == "subscribe" then |
204 -- TODO | 204 -- TODO |
205 elseif stanza.attr.type == "unsubscribe" then | 205 elseif stanza.attr.type == "unsubscribe" then |
206 -- TODO | 206 -- TODO |