scansion/objects/client.lua

changeset 17
610917f3ea97
parent 16
59f176aa3465
child 20
cd1fc52f1b26
--- a/scansion/objects/client.lua	Mon Sep 07 14:33:33 2015 +0100
+++ b/scansion/objects/client.lua	Mon Sep 07 14:33:47 2015 +0100
@@ -43,7 +43,6 @@
 		local wait, done = async.waiter();
 		client.stream:hook("ready", function () print"aha" done() end);
 		client.stream:connect_client(client.jid, client.password);
-		print("waiting")
 		wait();
 		client.full_jid = client.stream.jid;
 	end;
@@ -67,6 +66,7 @@
 		client.stream:hook("stanza", stanza_handler, 100);
 		verse.add_task(stanza_timeout, function ()
 			if not expected_stanza then return; end
+			print("TIMEOUT")
 		end);
 	end;
 

mercurial