module Blather class Stream # @private class Client < Stream LANG = 'en' VERSION = '1.0' NAMESPACE = 'jabber:client' def start send "" end def send(stanza) stanza.from = self.jid if stanza.is_a?(Stanza) && !stanza.from.nil? super stanza end end #Client end #Stream end #Blather