Fri, 18 Mar 2011 21:42:49 +0000
plugins.smacks: Remove some debugging code from resumption success handling, and fire a "resumed" event instead
plugins/smacks.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/smacks.lua Fri Mar 18 21:42:00 2011 +0000 +++ b/plugins/smacks.lua Fri Mar 18 21:42:49 2011 +0000 @@ -65,7 +65,7 @@ end elseif stanza.name == "resumed" then stream:debug("Resumed successfully"); - stream:send(verse.message{to="me@matthewwild.co.uk", type="chat"}:tag("body"):text("Hi again!")); + stream:event("resumed"); else stream:warn("Don't know how to handle "..xmlns_sm.."/"..stanza.name); end