Changeset

201:1fce24cb2c41

plugins.smacks: Remove some debugging code from resumption success handling, and fire a "resumed" event instead
author Matthew Wild <mwild1@gmail.com>
date Fri, 18 Mar 2011 21:42:49 +0000
parents 200:4166213cc9bd
children 202:05d1a4751251
files plugins/smacks.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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