don't set stream state to disconnected on a non-stream error.
[OpenSRF.git] / src / perl / lib / OpenSRF / Transport / SlimJabber / XMPPReader.pm
index 9d10463..1e60f70 100644 (file)
@@ -288,7 +288,6 @@ sub start_element {
     } elsif($name eq 'error') {
         $self->{message}->{err_type} = $attrs{'type'};
         $self->{message}->{err_code} = $attrs{'code'};
-        $self->{stream_state} = DISCONNECTED;
     }
 }