// Currently, there's only one profile in XMPP, namely XEP-0096 SI File Transfer.
profileManagers.put(SIFileTransferOffer.NAMESPACE, new ProfileManager() {
@Override
public void handle(IQ iq, StreamInitiation streamInitiation) {
FileTransferManager fileTransferManager = xmppSession.getExtensionManager(FileTransferManager.class);
fileTransferManager.fileTransferOffered(iq, streamInitiation.getId(), streamInitiation.getMimeType(), (FileTransferOffer) streamInitiation.getProfileElement(), streamInitiation, StreamInitiationManager.this);
}
});
xmppSession.addIQListener(new IQListener() {
@Override