lib/blather/stream/component.rb in blather-0.3.0 vs lib/blather/stream/component.rb in blather-0.3.1

- old
+ new

@@ -4,10 +4,10 @@ class Component < Stream NAMESPACE = 'jabber:component:accept' def receive(node) # :nodoc: if node.element_name == 'handshake' - @client.stream_started(self) + @client.post_init else super end if node.namespaces.find_by_href('http://etherx.jabber.org/streams') && node.find_first('/stream:stream[not(stream:error)]')