src/strophe.pubsub.js
function (status, condition) {
        var that = this._connection;
        if (this._autoService && status === Strophe.Status.CONNECTED) {
            this.service =  'pubsub.'+Strophe.getDomainFromJid(that.jid);
            this.jid = that.jid;
        }
    }
function (status, condition) {
        var that = this._connection;
        if (this._autoService && status === Strophe.Status.CONNECTED) {
            this.service =  'pubsub.'+Strophe.getDomainFromJid(that.jid);
            this.jid = that.jid;
        }
    }
function ( status , condition ) { var that = this . _connection ; if ( this . _autoService && status === Strophe . Status . CONNECTED ) { this . service = 'pubsub.' + Strophe . getDomainFromJid ( that . jid ) ; this . jid = that . jid ; } }
Called by Strophe on connection event
Called by Strophe on connection event