jappixmini: also add to roster if no name set

pull/48/head
Leberwurscht 2012-04-17 21:14:28 +02:00
parent d09db57f88
commit cd28f9d7cc
1 changed files with 3 additions and 0 deletions

View File

@ -126,6 +126,9 @@ function jappixmini_manage_roster(contacts, autoapprove, autosubscribe) {
}
if (approve) {
name = contacts[xid];
if (!name) name = xid;
acceptSubscribe(xid, contacts[xid]);
console.log("Accepted "+xid+" for chat.");
}