clix.roster: Switch order of name and jid in the list command

Sun, 29 Jul 2012 23:58:39 +0200

author
Kim Alvefur <zash@zash.se>
date
Sun, 29 Jul 2012 23:58:39 +0200
changeset 91
7816f24d0fdc
parent 90
3115bd81b9de
child 92
a629b953780c

clix.roster: Switch order of name and jid in the list command

clix/roster.lua file | annotate | diff | comparison | revisions
--- a/clix/roster.lua	Wed Jul 04 07:51:35 2012 +0200
+++ b/clix/roster.lua	Sun Jul 29 23:58:39 2012 +0200
@@ -71,7 +71,7 @@
 					local name, host = item.name or split_jid(jid);
 					local groups = table.concat(item.groups or {}, ", ");
 					if not param or ( (name and name:match(param)) or jid:match(param) ) then
-						print(name or host, jid, groups);
+						print(jid, name or host, groups);
 					end
 				end
 			end;

mercurial