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

This commit is contained in:
Leberwurscht 2012-04-17 21:00:03 +02:00
parent 0164bdf11e
commit fccaea4f2f

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