Software /
code /
prosody
Changeset
1273:85353014ff34
stanza_router: Reply with an error on groupchat messages to bare JID
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 01 Jun 2009 17:53:39 +0500 |
parents | 1272:28f9041d8c55 |
children | 1274:50babb72edac |
files | core/stanza_router.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/stanza_router.lua Mon Jun 01 17:52:02 2009 +0500 +++ b/core/stanza_router.lua Mon Jun 01 17:53:39 2009 +0500 @@ -244,7 +244,7 @@ session.send(stanza); end end - elseif resource and stanza.attr.type == 'groupchat' then + elseif stanza.attr.type == 'groupchat' then -- Groupchat message sent to offline resource origin.send(st.error_reply(stanza, "cancel", "service-unavailable")); else