client: Add full JID as property of clients

Mon, 07 Sep 2015 14:33:09 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 07 Sep 2015 14:33:09 +0100
changeset 15
0441673df075
parent 14
ad0dd3d45edc
child 16
59f176aa3465

client: Add full JID as property of clients

scansion/objects/client.lua file | annotate | diff | comparison | revisions
--- a/scansion/objects/client.lua	Mon Sep 07 14:32:33 2015 +0100
+++ b/scansion/objects/client.lua	Mon Sep 07 14:33:09 2015 +0100
@@ -27,7 +27,7 @@
 		client.stream:connect_client(client.jid, client.password);
 		print("waiting")
 		wait();
-		print("done")
+		client.full_jid = client.stream.jid;
 	end;
 
 	sends = function (client, data)

mercurial