fix: issue an AuthorizationReponse.ACCEPT instead of AuthorizationResponse.REJECT when an authorization is accepted (possibly a copy/paste typo)

cusax-fix
Emil Ivov 20 years ago
parent cee72682e6
commit edd35cb424

@ -1479,8 +1479,8 @@ public void authorizationDenied(Screenname screenname, String reason)
Contact srcContact = findContactByID(screenname.getFormatted());
authorizationHandler.processAuthorizationResponse(
new AuthorizationResponse(AuthorizationResponse.REJECT, reason),
srcContact);
new AuthorizationResponse(AuthorizationResponse.REJECT, reason)
, srcContact);
}
public void authorizationAccepted(Screenname screenname, String reason)
@ -1489,8 +1489,8 @@ public void authorizationAccepted(Screenname screenname, String reason)
Contact srcContact = findContactByID(screenname.getFormatted());
authorizationHandler.processAuthorizationResponse(
new AuthorizationResponse(AuthorizationResponse.REJECT, reason),
srcContact);
new AuthorizationResponse(AuthorizationResponse.ACCEPT, reason)
, srcContact);
}
public void authorizationRequestReceived(Screenname screenname,

Loading…
Cancel
Save