lib/vines/stream/component.rb in diaspora-vines-0.1.22 vs lib/vines/stream/component.rb in diaspora-vines-0.1.24

- old
+ new

@@ -44,13 +44,13 @@ private def send_stream_header attrs = { - 'xmlns' => NAMESPACES[:component], + 'xmlns' => NAMESPACES[:component], 'xmlns:stream' => NAMESPACES[:stream], - 'id' => @stream_id, - 'from' => @remote_domain + 'id' => @stream_id, + 'from' => @remote_domain } write "<stream:stream %s>" % attrs.to_a.map{|k,v| "#{k}='#{v}'"}.join(' ') end end end