]> git.mxchange.org Git - friendica-addons.git/commitdiff
jappixmini: log names
authorLeberwurscht <leberwurscht@hoegners.de>
Tue, 17 Apr 2012 20:45:18 +0000 (22:45 +0200)
committerLeberwurscht <leberwurscht@hoegners.de>
Tue, 17 Apr 2012 20:45:18 +0000 (22:45 +0200)
jappixmini/lib.js

index ca0130a90aeb96966537e7613371b0d2ca233e5c..1794def67f035f63ccdb885ec026756d60743d4b 100644 (file)
@@ -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);