# File protocol.rb, line 670 def initialize(to, type=NORMAL) return unless to to = Jabber::JID.new(to) if to.kind_of? String @to = to if to.kind_of? Jabber::JID @type = type end