From 07a1e7a2aa3a77dd2dc1fcf8d78b2c538484bb42 Mon Sep 17 00:00:00 2001 From: Leberwurscht Date: Tue, 17 Apr 2012 22:45:18 +0200 Subject: [PATCH] jappixmini: log names --- jappixmini/lib.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jappixmini/lib.js b/jappixmini/lib.js index ca0130a9..1794def6 100644 --- a/jappixmini/lib.js +++ b/jappixmini/lib.js @@ -132,7 +132,7 @@ function jappixmini_manage_roster(contacts, contacts_hash, autoapprove, autosubs if (!name) name = xid; acceptSubscribe(xid, name); - console.log("Accepted "+xid+" for chat."); + console.log("Accepted "+xid+" ("+name+") for chat."); } }); @@ -207,7 +207,7 @@ function jappixmini_manage_roster(contacts, contacts_hash, autoapprove, autosubs item.setAttribute('name', contacts[xid]); item.appendChild(iq.buildNode('group', {'xmlns': NS_ROSTER}, "Friendica")); con.send(iq); - console.log("Added "+xid+" to roster."); + console.log("Added "+xid+" ("+contacts[xid]+") to roster."); } setPersistent("jappix-mini", "contacts-hash", contacts_hash); -- 2.39.5