private void sendFileInfoInNewSession(String fileTransferId,String fileInfo,OneToOneFileTransferImpl oneToOneFileTransfer) throws PayloadException, NetworkException {
  long timestamp=System.currentTimeMillis();
  long timestampSent=timestamp;
  mMessagingLog.setFileTransferTimestamps(fileTransferId,timestamp,timestampSent);
  ChatMessage firstMsg=ChatUtils.createFileTransferMessage(getRemoteContact(),fileInfo,fileTransferId,timestamp,timestampSent);
  OneToOneChatSession chatSession=mImService.createOneToOneChatSession(getRemoteContact(),firstMsg);
  chatSession.startSession();
  mImService.receiveOneOneChatSessionInitiation(chatSession);
  oneToOneFileTransfer.onFileInfoDequeued(getRemoteContact());
}

private void sendFileInfoInNewSession ( String fileTransferId , String fileInfo , OneToOneFileTransferImpl oneToOneFileTransfer ) throws PayloadException , NetworkException { long timestamp = System . currentTimeMillis ( ) ; long timestampSent = timestamp ; mMessagingLog . setFileTransferTimestamps ( fileTransferId , timestamp , timestampSent ) ; ChatMessage firstMsg = ChatUtils . createFileTransferMessage ( getRemoteContact ( ) , fileInfo , fileTransferId , timestamp , timestampSent ) ; OneToOneChatSession chatSession = mImService . createOneToOneChatSession ( getRemoteContact ( ) , firstMsg ) ; chatSession . startSession ( ) ; mImService . receiveOneOneChatSessionInitiation ( chatSession ) ; oneToOneFileTransfer . onFileInfoDequeued ( getRemoteContact ( ) ) ; }
send file info in a new one - one chat session
