fixing build.

Change the order of actions. First add the buddy as awaiting then send the athorization request.
cusax-fix
Damian Minkov 20 years ago
parent 6bd1dc76b1
commit 395ee377e6

@ -108,12 +108,6 @@ public void handleResponse(SnacResponseEvent snacResponseEvent)
// uinToAskForAuth,
// authRequest.getReason()));
//SNAC(13,18) send authorization request
aimConnection.getSsiService().sendSnac(
new RequestAuthCmd(
uinToAskForAuth,
authRequest.getReason()));
Vector buddiesToBeAdded = new Vector();
BuddyAwaitingAuth newBuddy = new BuddyAwaitingAuth(
@ -123,8 +117,15 @@ public void handleResponse(SnacResponseEvent snacResponseEvent)
CreateItemsCmd addCMD = new CreateItemsCmd(buddiesToBeAdded);
logger.trace("Adding buddy as awaiting authorization");
aimConnection.getSsiService().sendSnac(addCMD);
//SNAC(13,18) send authorization request
aimConnection.getSsiService().sendSnac(
new RequestAuthCmd(
uinToAskForAuth,
authRequest.getReason()));
return;
}
else

Loading…
Cancel
Save