boolean isCorrect = false;
if(buddy!=null) {
ChatDialog dialog = this.context.getDialogFactory().findChatDialog(buddy);
if(dialog!=null && dialog.getState()==DialogState.OPENNING && dialog instanceof LiveV1ChatDialog) {
LiveV1ChatDialog cd = (LiveV1ChatDialog) dialog;
cd.dialogOpened();
isCorrect = true;
}
}
if(!isCorrect) logger.warn("Incorrect ack Notify. Notify="+notify.toString());