mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 19:30:20 +00:00
jappixmini: log names
This commit is contained in:
parent
2fef298b3e
commit
07a1e7a2aa
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue