• JC Brand's avatar
    Reconnection fixes. · 83201e7c
    JC Brand authored
    When reconnecting with a new transport, we call setUserJID
    so that a new resource is generated, to avoid multiple
    server-side sessions with the same resource.
    
    We also call `_proto._doDisconnect` so that connection event handlers
    for the old transport are removed.
    83201e7c
converse-core.js 72.2 KB