mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 06:43:40 +00:00
jappixmini: also add to roster if no name set
This commit is contained in:
parent
d09db57f88
commit
cd28f9d7cc
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue