Mon, 07 Sep 2015 14:33:47 +0100
client: Some logging changes
scansion/objects/client.lua | file | annotate | diff | comparison | revisions |
--- 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;