jappixmini: do not annoy user by asking multiple times for authorization
parent
0164bdf11e
commit
fccaea4f2f
|
@ -120,6 +120,9 @@ function jappixmini_manage_roster(contacts, autoapprove, autosubscribe) {
|
|||
message = "Accept "+xid+" for chat?";
|
||||
if (pstatus) message += "\n\nStatus:\n"+pstatus;
|
||||
approve = confirm(message);
|
||||
|
||||
// do not ask any more
|
||||
if (!approve) sendSubscribe(xid, "unsubscribed");
|
||||
}
|
||||
|
||||
if (approve) {
|
||||
|
|
Loading…
Reference in New Issue