private SoftwareVersion softwareVersion;
private SoftwareVersionManager(final XmppSession xmppSession) {
super(xmppSession, SoftwareVersion.NAMESPACE);
xmppSession.addIQListener(new IQListener() {
@Override
public void handle(IQEvent e) {
IQ iq = e.getIQ();
// If an entity asks us for our software version, reply.
if (e.isIncoming() && isEnabled() && !e.isConsumed() && iq.getType() == IQ.Type.GET && iq.getExtension(SoftwareVersion.class) != null) {