jappixmini: also add to roster if no name set
parent
d09db57f88
commit
cd28f9d7cc
|
@ -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.");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue