Refactoring

cusax-fix
Emil Ivov 20 years ago
parent 05e8cbde81
commit 7cc5f6db80

@ -256,7 +256,7 @@ public void handleResponse(SnacResponseEvent e)
+ contactUIN);
//create the volatile contact
sourceContact = opSetPersPresence
.createVolatileContact(new Screenname(contactUIN));
.createVolatileContact(contactUIN);
}
MessageReceivedEvent msgReceivedEvt
@ -445,7 +445,8 @@ public void gotMessage(Conversation conversation, MessageInfo minfo)
+ conversation.getBuddy());
//create the volatile contact
sourceContact = opSetPersPresence
.createVolatileContact(conversation.getBuddy());
.createVolatileContact(
conversation.getBuddy().getFormatted());
}

@ -285,7 +285,8 @@ public void gotTypingState(Conversation conversation,
"buddy=" + conversation.getBuddy());
//create the volatile contact
sourceContact = opSetPersPresence
.createVolatileContact(conversation.getBuddy());
.createVolatileContact(
conversation.getBuddy().getFormatted());
}
fireTypingNotificationsEvent(

@ -95,8 +95,7 @@ public SnacCommand genSnacCommand(SnacPacket packet)
// as we added it as Volatile stopped the application
// and after that received authorization response
if(srcContact == null)
srcContact = operationSetPresence.createVolatileContact(
new Screenname(uin));
srcContact = operationSetPresence.createVolatileContact(uin);
if (messageType == AuthOldMsgCmd.MTYPE_AUTHREQ)

Loading…
Cancel
Save