Sha256: e4d7bf1293a2bea8100bd13810dc31d866321151f19d2e4d8d3ed8c83482d6cd
Contents?: true
Size: 724 Bytes
Versions: 27
Compression:
Stored size: 724 Bytes
Contents
# encoding: UTF-8 module Vines class Stream class Server class Ready < State def node(node) stanza = to_stanza(node) raise StreamErrors::UnsupportedStanzaType unless stanza to, from = stanza.validate_to, stanza.validate_from raise StreamErrors::ImproperAddressing unless to && from raise StreamErrors::InvalidFrom unless from.domain == stream.remote_domain raise StreamErrors::HostUnknown unless to.domain == stream.domain stream.user = User.new(jid: from) if stanza.local? || stanza.to_pubsub_domain? stanza.process else stanza.route end end end end end end
Version data entries
27 entries across 27 versions & 4 rubygems