From edd35cb4242bd16049b49fa65bbacd9bb1ee09d0 Mon Sep 17 00:00:00 2001 From: Emil Ivov Date: Tue, 13 Feb 2007 13:12:19 +0000 Subject: [PATCH] fix: issue an AuthorizationReponse.ACCEPT instead of AuthorizationResponse.REJECT when an authorization is accepted (possibly a copy/paste typo) --- .../icq/OperationSetPersistentPresenceIcqImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/net/java/sip/communicator/impl/protocol/icq/OperationSetPersistentPresenceIcqImpl.java b/src/net/java/sip/communicator/impl/protocol/icq/OperationSetPersistentPresenceIcqImpl.java index 73f1ea016..9b1a128c7 100644 --- a/src/net/java/sip/communicator/impl/protocol/icq/OperationSetPersistentPresenceIcqImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/icq/OperationSetPersistentPresenceIcqImpl.java @@ -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,