Fix condition precedence

smack4
TrebleSnake 11 years ago
parent eafab93cce
commit f89f09872b

@ -1199,8 +1199,10 @@ public void authorizationReceived(SessionAuthorizationEvent ev)
Contact srcContact = findContactById(ev.getFrom());
if(srcContact == null)
{
if (logger.isTraceEnabled())
logger.trace("No contact found");
}
else
handler.processAuthorizationResponse(
new AuthorizationResponse(
@ -1215,8 +1217,10 @@ else if(ev.isAuthorizationDenied())
Contact srcContact = findContactById(ev.getFrom());
if(srcContact == null)
{
if (logger.isTraceEnabled())
logger.trace("No contact found");
}
else
{
handler.processAuthorizationResponse(

Loading…
Cancel
Save