jappixmini: do not annoy user by asking multiple times for authorization

pull/48/head
Leberwurscht 2012-04-17 21:00:03 +02:00
parent 0164bdf11e
commit fccaea4f2f
1 changed files with 3 additions and 0 deletions

View File

@ -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) {