<No Comment Entered>

cusax-fix
Damian Minkov 20 years ago
parent d1b0b26aaa
commit 63ce50d878

@ -91,13 +91,12 @@ public SnacCommand genSnacCommand(SnacPacket packet)
String uin = String.valueOf(messageCommand.getSender());
Contact srcContact = operationSetPresence.findContactByID(uin);
// Contact my be not in the contact list
// Contact may be not in the contact list
// as we added it as Volatile stopped the application
// and after that received authorization response
if(srcContact == null)
srcContact = operationSetPresence.createVolatileContact(uin);
if (messageType == AuthOldMsgCmd.MTYPE_AUTHREQ)
{
// this is a authorisation request with or without reason

@ -440,8 +440,6 @@ public void registrationStateChanged(RegistrationStateChangeEvent evt)
{
collectedNewStates.add(evt.getNewState());
logger.debug("damencho col event - " + evt.getNewState());
if(evt.getNewState().equals( RegistrationState.AUTHENTICATION_FAILED))
{
failedCode = evt.getReasonCode();

Loading…
Cancel
Save