mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-23 00:23:53 +00:00
jappixmini: do not annoy user by asking multiple times for authorization
This commit is contained in:
parent
0164bdf11e
commit
fccaea4f2f
1 changed files with 3 additions and 0 deletions
|
@ -120,6 +120,9 @@ function jappixmini_manage_roster(contacts, autoapprove, autosubscribe) {
|
||||||
message = "Accept "+xid+" for chat?";
|
message = "Accept "+xid+" for chat?";
|
||||||
if (pstatus) message += "\n\nStatus:\n"+pstatus;
|
if (pstatus) message += "\n\nStatus:\n"+pstatus;
|
||||||
approve = confirm(message);
|
approve = confirm(message);
|
||||||
|
|
||||||
|
// do not ask any more
|
||||||
|
if (!approve) sendSubscribe(xid, "unsubscribed");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (approve) {
|
if (approve) {
|
||||||
|
|
Loading…
Reference in a new issue