jappixmini: also add to roster if no name set

This commit is contained in:
Leberwurscht 2012-04-17 21:14:28 +02:00
parent d09db57f88
commit cd28f9d7cc

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.");
}