Exemplo n.º 1
0
 static /* synthetic */ void access$900(
     MultiUserChat x0, Set x1, boolean x2, MUCUser x3, String x4) {
   if (x1.contains(Status.KICKED_307)) {
     if (x2) {
       x0.joined = false;
       x0.fireUserStatusListeners("kicked", new Object[] {x3.item.actor, x3.item.reason});
       x0.occupantsMap.clear();
       x0.nickname = null;
       x0.userHasLeft();
     } else {
       List arrayList = new ArrayList();
       arrayList.add(x4);
       arrayList.add(x3.item.actor);
       arrayList.add(x3.item.reason);
       x0.fireParticipantStatusListeners("kicked", arrayList);
     }
   }
   if (x1.contains(Status.BANNED_301)) {
     if (x2) {
       x0.joined = false;
       x0.fireUserStatusListeners("banned", new Object[] {x3.item.actor, x3.item.reason});
       x0.occupantsMap.clear();
       x0.nickname = null;
       x0.userHasLeft();
     } else {
       arrayList = new ArrayList();
       arrayList.add(x4);
       arrayList.add(x3.item.actor);
       arrayList.add(x3.item.reason);
       x0.fireParticipantStatusListeners("banned", arrayList);
     }
   }
   if (x1.contains(Status.REMOVED_AFFIL_CHANGE_321) && x2) {
     x0.joined = false;
     x0.fireUserStatusListeners("membershipRevoked", new Object[0]);
     x0.occupantsMap.clear();
     x0.nickname = null;
     x0.userHasLeft();
   }
   if (x1.contains(Status.NEW_NICKNAME_303)) {
     arrayList = new ArrayList();
     arrayList.add(x4);
     arrayList.add(x3.item.nick);
     x0.fireParticipantStatusListeners("nicknameChanged", arrayList);
   }
 }
Exemplo n.º 2
0
 static /* synthetic */ void access$600(
     MultiUserChat x0, MUCRole x1, MUCRole x2, boolean x3, String x4) {
   List arrayList;
   if (("visitor".equals(x1) || "none".equals(x1)) && "participant".equals(x2)) {
     if (x3) {
       x0.fireUserStatusListeners("voiceGranted", new Object[0]);
     } else {
       arrayList = new ArrayList();
       arrayList.add(x4);
       x0.fireParticipantStatusListeners("voiceGranted", arrayList);
     }
   } else if ("participant".equals(x1) && ("visitor".equals(x2) || "none".equals(x2))) {
     if (x3) {
       x0.fireUserStatusListeners("voiceRevoked", new Object[0]);
     } else {
       arrayList = new ArrayList();
       arrayList.add(x4);
       x0.fireParticipantStatusListeners("voiceRevoked", arrayList);
     }
   }
   if (!"moderator".equals(x1) && "moderator".equals(x2)) {
     if ("visitor".equals(x1) || "none".equals(x1)) {
       if (x3) {
         x0.fireUserStatusListeners("voiceGranted", new Object[0]);
       } else {
         arrayList = new ArrayList();
         arrayList.add(x4);
         x0.fireParticipantStatusListeners("voiceGranted", arrayList);
       }
     }
     if (x3) {
       x0.fireUserStatusListeners("moderatorGranted", new Object[0]);
       return;
     }
     arrayList = new ArrayList();
     arrayList.add(x4);
     x0.fireParticipantStatusListeners("moderatorGranted", arrayList);
   } else if ("moderator".equals(x1) && !"moderator".equals(x2)) {
     if ("visitor".equals(x2) || "none".equals(x2)) {
       if (x3) {
         x0.fireUserStatusListeners("voiceRevoked", new Object[0]);
       } else {
         arrayList = new ArrayList();
         arrayList.add(x4);
         x0.fireParticipantStatusListeners("voiceRevoked", arrayList);
       }
     }
     if (x3) {
       x0.fireUserStatusListeners("moderatorRevoked", new Object[0]);
       return;
     }
     arrayList = new ArrayList();
     arrayList.add(x4);
     x0.fireParticipantStatusListeners("moderatorRevoked", arrayList);
   }
 }
Exemplo n.º 3
0
 static /* synthetic */ void access$700(
     MultiUserChat x0, MUCAffiliation x1, MUCAffiliation x2, boolean x3, String x4) {
   List arrayList;
   if (!"owner".equals(x1) || "owner".equals(x2)) {
     if (!"admin".equals(x1) || "admin".equals(x2)) {
       if ("member".equals(x1) && !"member".equals(x2)) {
         if (x3) {
           x0.fireUserStatusListeners("membershipRevoked", new Object[0]);
         } else {
           arrayList = new ArrayList();
           arrayList.add(x4);
           x0.fireParticipantStatusListeners("membershipRevoked", arrayList);
         }
       }
     } else if (x3) {
       x0.fireUserStatusListeners("adminRevoked", new Object[0]);
     } else {
       arrayList = new ArrayList();
       arrayList.add(x4);
       x0.fireParticipantStatusListeners("adminRevoked", arrayList);
     }
   } else if (x3) {
     x0.fireUserStatusListeners("ownershipRevoked", new Object[0]);
   } else {
     arrayList = new ArrayList();
     arrayList.add(x4);
     x0.fireParticipantStatusListeners("ownershipRevoked", arrayList);
   }
   if ("owner".equals(x1) || !"owner".equals(x2)) {
     if ("admin".equals(x1) || !"admin".equals(x2)) {
       if (!"member".equals(x1) && "member".equals(x2)) {
         if (x3) {
           x0.fireUserStatusListeners("membershipGranted", new Object[0]);
           return;
         }
         arrayList = new ArrayList();
         arrayList.add(x4);
         x0.fireParticipantStatusListeners("membershipGranted", arrayList);
       }
     } else if (x3) {
       x0.fireUserStatusListeners("adminGranted", new Object[0]);
     } else {
       arrayList = new ArrayList();
       arrayList.add(x4);
       x0.fireParticipantStatusListeners("adminGranted", arrayList);
     }
   } else if (x3) {
     x0.fireUserStatusListeners("ownershipGranted", new Object[0]);
   } else {
     arrayList = new ArrayList();
     arrayList.add(x4);
     x0.fireParticipantStatusListeners("ownershipGranted", arrayList);
   }
 }