lib/blather/stream/component.rb in blather-0.8.2 vs lib/blather/stream/component.rb in blather-0.8.3

- old
+ new

@@ -21,9 +21,10 @@ stanza.from ||= self.jid if stanza.respond_to?(:from) && stanza.respond_to?(:from=) super stanza end def start + @parser = Parser.new self send "<stream:stream to='#{@jid}' xmlns='#{NAMESPACE}' xmlns:stream='#{STREAM_NS}'>" end end #Client end #Stream